≡
Products
▼
Support
▼
Company
▼
Forum
Ambiera Forum
Discussions, Help and Support.
Create a new account
,
Search
, or Login:
Create reply in
save an existing variable to an external .txt file or .INI file.
Posted by:
(you are not logged in)
Enter the missing letter in: "Int?rnational"
(you are not logged in)
Text:
[quote][b][/b] wrote: yes *smile* Just replace the load code with the following [code] var varContent = 0; var readline; var varContent = ccbReadFileContent('saved.txt'); readline = varContent.substring(6,varContent.length-1) ccbSetCopperCubeVariable('Score',readline); [/code] Code explanation: The second line containing " readline = " code reads from Character number 6 ("equal sign =") till the end of line (varContent.length-1 to avoid taking the next line carriage return) Let me know if you have any question. Thanks for pmax code as well *blinzel*[/quote]
Possible Codes
Feature
Code
Link
[url] www.example.com [/url]
Bold
[b]bold text[/b]
Image
[img]http://www.example.com/image.jpg[/img]
Quote
[quote]quoted text[/quote]
Code
[code]source code[/code]
Emoticons
Copyright© Ambiera e.U. all rights reserved.
Privacy Policy | Terms and Conditions | Imprint | Contact