• Log in or sign up for an account here: https://www.sythe.org/login

Hard to remember all variables? (Small guide)

Joined
Jan 27, 2007
Sythe Gold
0
Messages
1,225
Location
/bin/sh
Use arrays. Here is an example:
program Iusearrays;
var greeting:array[1..5] of string;
begin;
greeting[1]:='yo';
greeting[2]:='sup';
greeting[3]:='hey';
greeting[4]:='hello';
greeting[5]:='good day';
end.
1..5 declares that we want 5 "strings" in our array.
If anything is incorrect, pm me.
 
Runescape Gamblingrunescape gambling
Back
Top