|
| 09 Apr 2014 09:15 PM |
Hi, I just have a question, in scripting, what is a string and what is it used for? Can it be used for GUIs with textboxes? Thanks. |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 09 Apr 2014 09:16 PM |
sequence of characters. it is used just to combine characters.
|
|
|
| Report Abuse |
|
|
Bebee2
|
  |
| Joined: 17 May 2009 |
| Total Posts: 3985 |
|
|
| 09 Apr 2014 09:17 PM |
Adding on...
Tends to be used to represent text or names. |
|
|
| Report Abuse |
|
|
| |
|
CWRA0444
|
  |
| Joined: 14 Jan 2010 |
| Total Posts: 6013 |
|
|
| 09 Apr 2014 09:18 PM |
| Yes. A string is anything in quotes in a script. Like, "Hello", "123", "IRANOOBRAIG", like that. So it would be used in a TextBox for the Text. |
|
|
| Report Abuse |
|
|
|
| 09 Apr 2014 09:20 PM |
| Ohhh, ok. So if someone was typing in a textbox and then pushed the 'enter button', then it helps to process the text given in the input? |
|
|
| Report Abuse |
|
|
Bebee2
|
  |
| Joined: 17 May 2009 |
| Total Posts: 3985 |
|
|
| 09 Apr 2014 09:24 PM |
It is the string,
Names are a string Text is a string
|
|
|
| Report Abuse |
|
|
transIate
|
  |
| Joined: 20 Jun 2013 |
| Total Posts: 2699 |
|
| |
|
Absurdism
|
  |
| Joined: 18 Jul 2013 |
| Total Posts: 2568 |
|
|
| 09 Apr 2014 09:31 PM |
see my introduction to variables here https://googledrive.com/host/0BygQW0Uq8-q0eFY0UWpfbmJqR3M/index.html |
|
|
| Report Abuse |
|
|
|
| 09 Apr 2014 09:31 PM |
| Also another question I had is what is a table? |
|
|
| Report Abuse |
|
|
|
| 09 Apr 2014 10:27 PM |
You will have to script the Enter key pressed
Tables: A group of variables
exampletable = {"string", 12, workspace.Part}
print(exampletable[1]) >string |
|
|
| Report Abuse |
|
|
|
| 09 Apr 2014 10:29 PM |
": Tables: A group of variables "
A group of references*
Want to learn Java? Contact me or visit http://www.roblox.com/Groups/group.aspx?gid=632774 |
|
|
| Report Abuse |
|
|
cntkillme
|
  |
| Joined: 07 Apr 2008 |
| Total Posts: 44956 |
|
|
| 09 Apr 2014 10:39 PM |
| Nah, tables are a group of values. |
|
|
| Report Abuse |
|
|
|
| 10 Apr 2014 12:33 AM |
References to a value.
Want to learn Java? Contact me or visit http://www.roblox.com/Groups/group.aspx?gid=632774 |
|
|
| Report Abuse |
|
|