Re: [Hecl-devel] About hecl
Brought to you by:
davidw
From: David W. <da...@de...> - 2009-08-31 11:23:49
|
> hecl is a good command script.but i hava found some problem. the control > command syntaxs is too trict. for example: > > "while" "{" "<" "$i" "10000" "}" "{" they all need a blank if you write > while{< $i 10000}{ > incr $i > } > if will throw a syntaxs exception. so i think it is not very free. > do you konw any other simple j2me command language? thanks! Everything in Hecl is a command, and all command arguments are separated by spaces: puts "hello world" is a command with one argument, the string "hello world" while { .... } { ...... } is a command with two arguments, the first a script that gets executed each time to check and see if it's still true, the second the script that gets executed each time through. That's why you must put spaces. If Hecl is not to your liking there are other languages out there. I think there are a few versions of Javascript, for instance. -- David N. Welton http://www.welton.it/davidw/ http://www.dedasys.com/ Sent from Padua, Veneto, Italy |