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
Red [ | |
Needs: 'View | |
] | |
system/view/debug?: yes | |
workstation?: system/view/platform/product = 1 | |
print [ | |
"Windows" switch system/view/platform/version [ |
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
Red/System [ | |
Title: "Red/System Mac OSX Window" | |
Author: "Qingtian Xie" | |
File: %rs-mac-window.reds | |
Type: 'library | |
Tabs: 4 | |
Rights: "Copyright (C) 2014 Qingtian Xie. All rights reserved." | |
Compiling: "rebview.exe -qs red.r -t Darwin rs-mac-window.reds" | |
Reference: { | |
https://github.com/CodaFi/C-Macs |
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
Red [ | |
Needs: 'View | |
] | |
system/view/debug?: yes | |
workstation?: system/view/platform/product = 1 | |
print [ | |
"Windows" switch system/view/platform/version [ |
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
string-to-integer: function [ | |
input [string!] | |
return: [integer! none!] | |
/local | |
total [integer!] | |
in-char [char! string!] | |
cipher [integer!] | |
is-number [logic!] | |
][ | |
is-number: false |
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
found?: func [ | |
"Returns true if value is not NONE." | |
value | |
][ | |
not none? :value | |
] |
NewerOlder