//\r
-// Copyright (c) 2008-2009, Apple Inc. All rights reserved.\r
+// Copyright (c) 2008 - 2009, Apple Inc. All rights reserved.<BR>\r
// \r
-// All rights reserved. This program and the accompanying materials\r
+// This program and the accompanying materials\r
// are licensed and made available under the terms and conditions of the BSD License\r
// which accompanies this distribution. The full text of the license may be found at\r
// http://opensource.org/licenses/bsd-license.php\r
)\r
RETURN 0\r
\r
-get_file_string:
- ENTRY &stringOffset
-
+get_file_string:\r
+ ENTRY &stringOffset\r
+\r
local &string\r
\r
- &more_string=data.string(d:&stringOffset)
-
- if (string.len("&more_string")>=128.)
- (
- &string="&string"+"&more_string"
- &stringOffset=&stringOffset+string.len("&more_string")
-
- //Get remaining file string
- GOSUB get_file_string &stringOffset
- ENTRY &more_string
- &string="&string"+"&more_string"
- )
- else
- (
- &string="&string"+"&more_string"
- &more_string=""
+ &more_string=data.string(d:&stringOffset)\r
+\r
+ if (string.len("&more_string")>=128.)\r
+ (\r
+ &string="&string"+"&more_string"\r
+ &stringOffset=&stringOffset+string.len("&more_string")\r
+\r
+ //Get remaining file string\r
+ GOSUB get_file_string &stringOffset\r
+ ENTRY &more_string\r
+ &string="&string"+"&more_string"\r
+ )\r
+ else\r
+ (\r
+ &string="&string"+"&more_string"\r
+ &more_string=""\r
)\r
RETURN &string\r
\r