Flash Games | CashSurfers | Buy Ads | Car Accident | GeekAlarm! | MP3 | FriendSurfer | Clear History | NinjaWax
3D GameStudio Plugins
Home | GSPython | SL | Registry | OGG | TTS | GSADO | GSHTTP | GSCrypt | rACE | ModPlayer | Contact
GameStudio StringList v1.0
Download

Use:
Free for all GameStudio projects without restrictions.

Disclaimer: If it blows up your machine it's not my fault.


Installation:
Unzip SL.wdl into your templates directory.
*3DGS 5.5+*
Unzip SL.dll into your work directory.
*3DGS 5.24*
Unzip SL52.dll into your work directory. Rename SL52.dll to SL.dll.


Publishing:
You will have to copy the DLL manually to your .cd directory when you publish.

Place this line at the end of your include list in your main project WDL file:

include ;


Versions:

6/12/2002 -- v1.0 -- Released.


Usage:

// create a list called listname
dllfunction StringList_Create(listname);

// adds string and returns index where string was added in list called listname
dllfunction StringList_Add(listname, string);

// clears list called listname
dllfunction StringList_Clear(listname);

// deletes string at index in list called listname
dllfunction StringList_Delete(listname, index);

// exchange string@index1 with string@index2 in list called listname
dllfunction StringList_Exchange(listname, index1, index2);

// returns index of string in listname
dllfunction StringList_IndexOf(listname, string);

// inserts string at index in list called listname
dllfunction StringList_Insert(listname, string, index);

// sorts list called listname
dllfunction StringList_Sort(listname);

// appends string to list called listname
dllfunction StringList_Append(listname, string);

// fill string with str from index in list called listname
dllfunction StringList_GetString(listname, string, index);

// returns string length in integer from index in list called listname
dllfunction StringList_GetStringLength(listname, index);

// set str at index to string in list called listname
dllfunction StringList_SetString(listname, string, index);

// fill string with value from name in list called listname
dllfunction StringList_GetValueByName(listname, name, string);

// returns value length in integer by name in list called listname
dllfunction StringList_GetValueLenByName(listname, name);

// set str value of name to string in list called listname
dllfunction StringList_SetValueByName(listname, name, string);

// fill name from index in list called listname
dllfunction StringList_GetNameByIndex(listname, name, index);

// returns name length in integer based on index in list called listname
dllfunction StringList_GetNameLenByIndex(listname, index);

// returns number of lines in list called listname
dllfunction StringList_Count(listname);

// returns index of name in list called listname
dllfunction StringList_IndexOfName(listname, name);

// returns 1 if list called listname1 equals list called listname2 else returns 0
dllfunction StringList_Equals(listname1, listname2);

// The path of filename is the path of the A5 EXE or any subpath thereof.
// (ie ExtractFilePath(A5.ExeName) + filename)

// load list called listname from filename
dllfunction StringList_LoadFromFile(listname, filename);

// save list called listname to filename
dllfunction StringList_SaveToFile(listname, filename);

// free list called listname
dllfunction StringList_Free(listname);

Peacekeeper Enterprises, LLC.