Changeset 22223
- Timestamp:
- 10/27/08 16:18:43 (5 years ago)
- Location:
- lang/javascript/hsp-on-js/trunk/src
- Files:
-
- 4 modified
-
builtin-funcs.js (modified) (1 diff)
-
evaluator.js (modified) (1 diff)
-
hsp-array.js (modified) (1 diff)
-
t.hsp (modified) (1 diff)
Legend:
- Unmodified
- Added
- Removed
-
lang/javascript/hsp-on-js/trunk/src/builtin-funcs.js
r22110 r22223 322 322 v.assign(StrValue.EMPTY_STR); 323 323 } 324 var buf = v.getBuffer(); 325 this.selectNote(buf); 324 this.selectNote(v); 326 325 }, 327 326 0x23: function noteadd(line, lineNumber, overwrite) { -
lang/javascript/hsp-on-js/trunk/src/evaluator.js
r22173 r22223 397 397 throw new HSPError(ErrorCode.ILLEGAL_FUNCTION, 'ノートパッドが選択されていません'); 398 398 } 399 return this.note ;399 return this.note.getBuffer(); 400 400 }, 401 401 fileRead: function fileRead(path, success, error) { -
lang/javascript/hsp-on-js/trunk/src/hsp-array.js
r21141 r22223 123 123 ref: function ref(offset) { 124 124 return new Reference(this, offset); 125 }, 126 bufferAt: function bufferAt(offset) { 127 throw new HSPError(ErrorCode.TYPE_MISMATCH); 125 128 } 126 129 }; -
lang/javascript/hsp-on-js/trunk/src/t.hsp
r22216 r22223 1 mes strf("%.1f", 0.9999999999999999) 2 mes strf("%.2f", 0.099) 3 mes strf("%.1f", 0.99) 4 mes strf("%.0f", 9.9) 5 mes strf("%.0f", 999.99999) 6 mes strf("%.1f", 999.99999) 7 mes strf("%.2f", 999.99999) 8 mes strf("%.3f", 999.99999) 9 mes strf("%.4f", 999.99999) 10 mes strf("%.5f", 999.99999) 1 notesel a 2 sdim a 3 noteadd "foo" 4 noteadd "bar" 5 mes a 6
![(please configure the [header_logo] section in trac.ini)](/share/chrome/site/your_project_logo.png)