Author Topic: Syntax Help  (Read 1355 times)

0 Members and 3 Guests are viewing this topic.

Offline peter

  • Major(1)
  • Posts: 3
Syntax Help
« on: May 16, 2007, 04:01:19 am »
There are any syntax help for the soldat scripting language?
I can only find that: http://enesce.com/help/ but there are only events, functions and  variables.

I looking for informations about the "if" function and his syntax (found only iif).
And about variables, why must i write "MyInt := 1;", what means that double point? (:)

there are any syntax help?
thanks in advance.
and excuse me for my bad school english.
« Last Edit: May 16, 2007, 04:04:23 am by peter »


Offline peter

  • Major(1)
  • Posts: 3
Re: Syntax Help
« Reply #2 on: May 16, 2007, 05:22:01 am »
The soldat scripting engine is using pascal? It should be written on the index page of http://enesce.com/help/html...

Offline EnEsCe

  • Retired Soldat Developer
  • Flamebow Warrior
  • ******
  • Posts: 3101
  • http://enesce.com/
    • [eC] Official Website
Re: Syntax Help
« Reply #3 on: May 16, 2007, 05:34:14 am »
Well, if you know what Pascal is, the fact that the script files are called *.pas kinda gives it away...

Offline peter

  • Major(1)
  • Posts: 3
Re: Syntax Help
« Reply #4 on: May 18, 2007, 07:54:59 am »
Well, if you know what Pascal is, the fact that the script files are called *.pas kinda gives it away...

I dont know what pascal is, but i know the programming language pascal by name. Im a programmer and i know many programming languages ;) but not their file extensions....

Offline sai`ke

  • Camper
  • ***
  • Posts: 318
  • Can't be arsed to remove christmas avatar
Re: Syntax Help
« Reply #5 on: May 19, 2007, 08:50:30 am »
Code: [Select]
Im a programmer and i know many programming languages Wink but not their file extensions.
Code: [Select]
I looking for informations about the "if" function and his syntax
I lol'd

#soldat.ttw #ttw.gather --- Quakenet!
http://ttwforums.com

Offline cynicle

  • Major(1)
  • Posts: 37
Re: Syntax Help
« Reply #6 on: May 23, 2007, 08:56:16 am »
I think he just mean syntax help.
Even a basic programer would work out what an If loop is just by looking at it, but like myself it took a lil while to get used to all the types of syntax used in Pascal after coming from BASIC and C#.

Peter check out http://www.algonet.se/%7Ekhaan/tutor/
Great site which just demonstrates syntax of numerous commands without all the basic programming technique and convention crap you should know by learning other languages.
« Last Edit: May 23, 2007, 08:59:30 am by cynicle »
Join the Army. Visit strange and exotic places. Meet fascinating people. And kill them.

Aus Soldat League 203.208.70.216:23073