The Daily Click ::. Forums ::. Klik Coding Help ::. Syntax error... WHY?
 

Post Reply  Post Oekaki 
 

Posted By Message

KevinHaag



Registered
  28/01/2005
Points
  266

VIP Member
1st September, 2007 at 22:14:02 -

ValueAtXY( "Array", (floorLoopIndex("paste level)/10), (LoopIndex("paste level")Mod 10)) < 2

Why does this compare 2 general values give me a syntax error?!

 
Image
http://www.kevinhaag.ca

viva/volt

Awesome Sauce

Registered
  26/08/2006
Points
  1694

Game of the Week WinnerSilverNova MemberKlikCast StarVIP Member
2nd September, 2007 at 03:21:12 -

You're missing a closing quotation mark after the first paste level and it says floor too?

 
Image
http://bfollington.tumblr.com

axel

Crazy?

Registered
  05/02/2005
Points
  4766

Game of the Week WinnerYou've Been Circy'd!
2nd September, 2007 at 03:41:41 -

ValueAtXY( "Array", (floor(LoopIndex("paste level")/10)), (LoopIndex("paste level")Mod 10)) < 2 


Try that.

 
n/a

Tim

I'm on here way too much

Registered
  25/08/2006
Points
  132

You've Been Circy'd!Clickzine StaffSilverNova MemberVIP MemberTurtle Power!Evil klikerWii OwnerHero of TimeGhostbuster!Pokemon Ball!
2nd September, 2007 at 06:07:18 -

Hehe, I bet you must've looked at that a hundred times and never noticed that missing """

 
http://www.SilverNova.co.uk


KevinHaag



Registered
  28/01/2005
Points
  266

VIP Member
2nd September, 2007 at 15:52:55 -

omg.

Image Edited by the Author.

 
Image
http://www.kevinhaag.ca

Pixelthief

Dedicated klik scientist

Registered
  02/01/2002
Points
  3419

Game of the Week WinnerWeekly Picture Me This Winner!You've Been Circy'd!VIP MemberI like Aliens!Evil klikerThe SpinsterI donated an open source project
2nd September, 2007 at 17:48:28 -

TGF likes to add commas and remove quotation marks from some extensions' functions. I find sometimes you have to enclose the quotations in double parentheses to make it work. Don't think that happens with MMF's compiler.

 
Gridquest V2.00 is out!!
http://www.create-games.com/download.asp?id=7456
   

Post Reply



 



Advertisement

Worth A Click