NSB.id: Difference between revisions

From NSB App Studio
Jump to navigation Jump to search
(Created page with "NSB.id == Description == NSB.id returns a string with the (file) name of the currently running app. This global property can be read, but not set. == Example == <pre>Rem NSB.i...")
 
No edit summary
 
Line 1: Line 1:
NSB.id
NSB.id
== Description ==
== Description ==
NSB.id returns a string with the (file) name of the currently running app. This global property can be read, but not set.
NSB.id returns a string with the (file) name of the currently running app. This global property can be read, but not set.
== Example ==
== Example ==
<pre>Rem NSB.id ExampleRem My example app's file name is HelloWorld.nsxPrint "The name of my app is " & NSB.id</pre>
<pre>
Rem NSB.id Example
Rem My example app's file name is HelloWorld.nsx
Print "The name of my app is " & NSB.id
</pre>
 
== Output ==
== Output ==
<pre>The name of my app is HelloWorld</pre>
<pre>The name of my app is HelloWorld</pre>
[[Category:Language Reference]]
[[Category:Language Reference]]

Latest revision as of 15:33, 23 September 2015

NSB.id

Description

NSB.id returns a string with the (file) name of the currently running app. This global property can be read, but not set.

Example

Rem NSB.id Example
Rem My example app's file name is HelloWorld.nsx
Print "The name of my app is " & NSB.id

Output

The name of my app is HelloWorld