Jump to content


habnef3's Content

There have been 3 items by habnef3 (Search limited from 30-March 23)


By content type

See this member's

Sort by                Order  

#248037 Error, '=' expected

Posted by habnef3 on 15 March 2016 - 12:43 AM in Ask a Pro

Thank you! That fixed it.



#248035 Error, '=' expected

Posted by habnef3 on 14 March 2016 - 11:52 PM in Ask a Pro

I am currently trying to make a somewhat advanced program and so far I've been doing okay. That is, until recently I hit a snag. I am getting the error message "bios:14: [string "ekT5pKm0"]:37: '=' expected


The part of the script that is getting the error is
print("Refuelling")
if 20000 - CurrentFuel >= 5000 then
	print("Low on fuel. Refilling until at 5000 fuel.")
	print(CurrentFuel)
	turtle.refuel
else
	print("All fueled up.")


I have the local variables set up, so it's not that. The link to the full script is below.




#230898 Wireless Turtle Help

Posted by habnef3 on 23 August 2015 - 03:29 AM in Ask a Pro

Hi, I'm having trouble with making programs that let me execute commands wireless from a computer to a turtle.

I have the following program for the computer
Spoiler

and this one is for the turtle.

Spoiler

When ran the main computer seems the be working fine, but the turtle just shows a blank line and then ends.
All help is appreciated.