资 源 简 介
ATTENTION: this project has migrated to github: http://github.com/arthur-debert/printf-as3/
Function for doing string variable substitutions in AS3.
Inspired by python"s print and strtime.
This is really a simple project. Inside the rep, souce, docs and examples.
Some basic usage:
```
// objects are substitued in the other they appear
printf("This is an %s library for creating %s", "Actioscript 3.0", "strings");
// outputs: "This is an Actioscript 3.0 lybrary for creating strings";
// you can also format numbers:
printf("You can also display numbers like PI: %f, and format them to a fixed precision, such as PI with 3 decimal places %.3f", Math.PI, Math.PI);
// outputs: " You can also display numbers like PI: 3.141592653589793, and format them to a fixed precision, such as PI with 3 decimal places 3.142"
// Instead of positional (the order of arguments to print f, you can also
文 件 列 表
README.txt
docs
all-classes.html
all-index-A.html
all-index-B.html
all-index-C.html
all-index-D.html
all-index-E.html
all-index-F.html
all-index-G.html
all-index-H.html
all-index-I.html
all-index-J.html
all-index-K.html
all-index-L.html
all-index-M.html
all-index-N.html
all-index-O.html
all-index-P.html
all-index-Q.html
all-index-R.html
all-index-S.html
all-index-T.html
all-index-U.html
all-index-V.html
all-index-W.html
all-index-X.html
all-index-Y.html
all-index-Z.html
appendixes.html
asdoc.js
br
class-summary.html
cookies.js
images
index-list.html
index.html
mxml-tags.html
package-frame.html
package-list.html
package-summary.html
print.css
printf
style.css
title-bar.html
src
printf.as
tprintf.as
AsPrintFTester.mxml
AsPrintfTestRunner.as
test-proj
lib
public
src