
-----------------------------------
lee_Amilghty
Tue May 25, 2004 6:57 pm

Needing some help about record
-----------------------------------
can I put the record into a procedure and use the record which exist in the main procedure to call it?

how can i declare the variavbe?!!!

-----------------------------------
vagyb
Tue May 25, 2004 7:32 pm


-----------------------------------
um.. im kinda a noob in turing but is this what you mean?

proc hello
put "hello everyone"
end hello



thats a basic procedure (i think) and whenever in ur program u want that procedure to work you basically do this.
EX.

put "my name is bob"
hello


-----------------------------------
omni
Tue May 25, 2004 7:33 pm


-----------------------------------
you mean pass records into procedures?
As for information about records, look up tutorial section

-----------------------------------
vagyb
Tue May 25, 2004 7:33 pm


-----------------------------------
also to declare variables there are three kinds (that i know of). they are string (for text), int and real (for numbers).
for example

var name : string
put "what is your name?"
get name
put name

[/code]
