Created
October 12, 2016 21:31
-
-
Save EricTRocks/19b4d4fc4f3c88a68209bb5f5de09a01 to your computer and use it in GitHub Desktop.
Create Dictionaries in Fabric Engine KL
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
require Math; | |
operator entry() { | |
// String to Vec3 Dict | |
Vec3 myDict[String]; | |
myDict['bob'] = Vec3(1,2,3); | |
report(myDict['bob']); | |
// Integer to String Dict | |
String myStrDict[Integer]; | |
myStrDict[1] = 'joe'; | |
report(myStrDict[1]); | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment