亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频

? 歡迎來(lái)到蟲(chóng)蟲(chóng)下載站! | ?? 資源下載 ?? 資源專(zhuān)輯 ?? 關(guān)于我們
? 蟲(chóng)蟲(chóng)下載站

?? fileio.txt

?? C、C++語(yǔ)言實(shí)現(xiàn)的數(shù)據(jù)結(jié)構(gòu)重要算法和程序 比較全。
?? TXT
字號(hào):
FileIO Xtra for Macromedia Authorware 6.0
Copyright 2001 Macromedia, Inc.


FileIO provides a set of functions allowing users of Macromedia Authorware 6.0 to programmatically access files using scripting.




Using FileIO
============

As an Xtra the FileIO Xtra must be in your application's Xtras folder.

Each instance of FileIO can reference a single open file. If multiple files are to be opened simultaneously, a new instance of FileIO is required for each opened file. A single instance can be used to open multiple files, as long as the file is closed before a new file is opened. To create a new instance use NewObject, defined below. To dispose of an instance, set the instance variable to 0. All functions that read from or write to the file must be called after the file has been opened using openFile. If a new file is to be opened using the same instance, the old file must first be closed using closeFile. Files can be opened in three different modes: Read, Write and Read/Write. When writing to a file, the contents of the file after the current position are overwritten.

Example Script:

 -- Create an instance of FileIO
 myFile := NewObject("fileio")

 -- Display an "open" dialog and return the file name to Authorware
 myFileName := CallObject(myFile, "displayOpen")

 -- Open the file
 CallObject(myFile, "openFile", myFileName, 1)

 -- Read the file and return a string to Authorware
 theFile := CallObject(myFile, "readFile")

 -- Close the file
 CallObject(myFile, "closeFile")

 -- Dispose of the instance
 myFile := 0


In this example, a new instance was created and stored in the variable myFile. Next, a call to displayOpen is used to display an open dialog to allow a file to be selected. The file name is returned as a fully qualified path string to Authorware. The file is then opened in read-only mode, the contents of the file are read, and the file is closed. Lastly, the instance is disposed.

There is also an Authorware Show Me (xtraio.a6p) which demonstrates how to use the Xtra. It can be found in the Show Mes installed with Authorware 6.




Known Problems
==============

The FileIO Xtra cannot use a net-based file when supplied with a URL for the file name. It is limited to accessing files available via file systems mounted on the local system.

The displaySave function does not directly inform Authorware whether a user is replacing an existing file. A workaround is to attempt to create the file using createFile and check the error code for a "File Already Exists" error.




Function Reference
==================


closeFile

CallObject(object, "closeFile")

Closes a file that has been previously opened using openFile.



createFile

CallObject(object, "createFile", "fileName")

Creates a file. The fileName must be either a fileName to be created in the current directory, or a fully qualified path and fileName. Relative paths are not supported. After creating the new file, the file must be opened before it can be written to.



delete

CallObject(object, "delete")

Deletes the currently opened file.  The file must be open to use this function.



displayOpen

CallObject(object, "displayOpen")

Displays a platform specific "open" dialog allowing a user to select a file. Returns a fully qualified path and fileName to Authorware. The setFilterMask function can be used to control what file types are displayed in the dialog.



displaySave

CallObject(object, "displaySave", "title", "defaultFileName")

Displays a platform specific "save" dialog allowing a user to specify a file. Returns a fully qualified path and fileName to Authorware. The setFilterMask function can be used to control what file types are displayed in the dialog. The title and defaultFileName parameters allow you to specify a default filename to be displayed, as well as title text for the save dialog. 



error

CallObject(object, "error", status) 

Returns a readable error string. A numeric error code is passed in as the third argument. (Also refer to the 'status' function.) The errors returned can be any of the following:

 "OK"
 "Memory allocation failure"
 "File directory full"
 "Volume full"
 "Volume not found"
 "I/O Error"
 "Bad file name"
 "File not open"
 "Too many files open"
 "File not found"
 "No such drive"
 "No disk in drive"
 "Directory not found"
 "Instance has an open file"
 "File already exists"
 "File is opened read-only"
 "File is opened write-only"
 "Unknown error"



fileName

CallObject(object, "fileName")

Returns the file name string of the current open file.  The file must be open use this function.



getFinderInfo

CallObject(object, "getFinderInfo")

Returns the Type and Creator of the current file as a string. This function does nothing when used under Windows.  The file must be open to use this function.



getLength

CallObject(object, "getLength")

Gets the length of the currently opened file. Returned as an integer. The file must be open to use this function. The value returned is the length of the file in bytes.



getOSDirectory

getOSDirectory()

A function that returns the full path to either the Windows directory, or the System Folder depending on which OS is currently being used. Does not require a child instance to call.



getPosition

CallObject(object, "getPosition")

Gets the file position of the current open file. Returned as an integer. The file must be open to use this function. 



NewObject

NewObject("fileio")

This is called to create a new instance of FileIO. It returns an instance variable used to reference the instance.



openFile

CallObject(object, "openFile", "fileName", mode)

Opens the named file. This call must be used before any read/write operations can take place. The filename can be either a fully qualified path and filename, or a relative filename. The openMode parameter specifies whether to open the file in Read, Write or Read Write mode. Valid Flags are: 0 Read/Write, 1 Read, 2 Write.



readChar

CallObject(object, "readChar")

Reads the character (either single or double-byte) at the current position and then increments the position. The character is returned to Authorware as a string. The file must be open in read or read/write mode to use this function. 



readFile

CallObject(object, "readFile") 

Reads from the current position to the end of the file and returns the file to Authorware as a string.  The file must be open in read or read/write mode to use this function.



readLine

CallObject(object, "readLine")

Reads from the current position up to and including the next Return, increments the position, and returns the string to Authorware.  The file must be open in read or read/write mode to use this function. 



readToken

CallObject(object, "readToken", "skip", "break")

Reads the next 'token' starting at the current position. Characters matching the 'skip' parameter are "skipped" and the file is read until 'break' is encountered. The file must be open in read or read/write mode to use this function. This function will read double-byte tokens as long as the skip and break are single-byte characters. It will not detect double-byte skip or break characters.



readWord

CallObject(object, "readWord")

Reads the next word starting at the current position.  The file must be open in read or read/write mode to use this function. 



setFilterMask

CallObject(object, "setFilterMask", "mask")

Sets the filter mask used by calls to displayOpen and displaySave. The filter mask determines what files to show when displaying an "open" or "save" dialog. The third parameter is a string representing the filter mask to set.

On Windows, this is a comma-separated string of file types and associated extensions (e.g. "All Files,*.*,Text Files,*.TXT"), and a string of types on the Macintosh (e.g. "TEXTPICT"). On Windows, the filter mask string is limited to 256 characters.

On the Macintosh, you are limited to four four-character types.  When a new instance of FileIO is created, the filter masks defaults to all files. To reset the filter mask to display all files after it has been set, just pass in an empty string, e.g. CallObject(object, "setFilterMask", "").



setFinderInfo

CallObject(object, "setFinderInfo", "attributes")

Sets the Type and Creator of the current file. The string takes the form of a space-separated set of TYPE and CREATOR codes (e.g. "TEXT TTXT"). This function does nothing when used under Windows.  The file must be open to use this function.



setPosition

CallObject(object, "setPosition", position)

Sets the file position of the current open file. The file must be open to use this function.



status

CallObject(object, "status")

Returns the error code returned by the last function called. The value is returned as an integer. (Also refer to the 'error' function.)



version

CallParentObject("fileio", "version")

Returns FileIO version and build information. Useful when filing bug reports, or determining installed version while authoring. No practical use beyond this.



writeChar

CallObject(object, "writeChar", "theChar")

Writes a single character to the file at the current position. The file must be open in write or read/write mode to use this function.



writeString

CallObject(object, "writeString", "theString")

Writes a string to the file at the current position. The file must be open in write or read/write mode to use this function.

===

?? 快捷鍵說(shuō)明

復(fù)制代碼 Ctrl + C
搜索代碼 Ctrl + F
全屏模式 F11
切換主題 Ctrl + Shift + D
顯示快捷鍵 ?
增大字號(hào) Ctrl + =
減小字號(hào) Ctrl + -
亚洲欧美第一页_禁久久精品乱码_粉嫩av一区二区三区免费野_久草精品视频
欧美岛国在线观看| 亚洲综合在线第一页| 亚洲欧美区自拍先锋| 麻豆91在线看| 色94色欧美sute亚洲线路二| 日韩色在线观看| 亚洲一区二区不卡免费| 国产91精品免费| 日韩精品综合一本久道在线视频| 成人欧美一区二区三区白人| 国产在线视视频有精品| 91精品久久久久久久久99蜜臂| 亚洲国产精品黑人久久久| 久久超碰97中文字幕| 欧美日韩国产成人在线免费| 国产精品福利av| 国产成a人亚洲精品| 精品国产凹凸成av人导航| 亚洲成人午夜影院| 久久久久久影视| 日韩高清电影一区| 欧美日韩激情一区| 亚洲一区精品在线| 在线观看成人小视频| 国产精品国产三级国产有无不卡| 国产剧情在线观看一区二区| 精品人伦一区二区色婷婷| 日韩精品欧美精品| 制服丝袜亚洲网站| 日本在线播放一区二区三区| 91精品国产综合久久久久久漫画| 亚洲国产综合91精品麻豆| 色视频欧美一区二区三区| 亚洲视频免费在线观看| 91在线视频免费观看| 国产精品传媒入口麻豆| av电影在线观看不卡| 中文字幕一区二区三区乱码在线| 成人av在线看| 一区二区三区不卡视频在线观看| 一本久久a久久免费精品不卡| 亚洲人亚洲人成电影网站色| 91美女片黄在线| 亚洲精品免费在线观看| 欧美日韩在线直播| 麻豆精品久久精品色综合| 精品精品欲导航| 国产xxx精品视频大全| 中文字幕一区二区不卡 | 91免费视频网| 亚洲精品伦理在线| 在线播放国产精品二区一二区四区 | 精品一二三四在线| 国产欧美一区二区三区网站| eeuss鲁片一区二区三区在线观看 eeuss鲁片一区二区三区在线看 | 亚洲女同女同女同女同女同69| 色婷婷久久99综合精品jk白丝| 亚洲成av人片一区二区梦乃| 91精品福利在线一区二区三区| 精品视频一区二区不卡| 免费人成黄页网站在线一区二区| 欧美精品一区二区三区蜜臀| 91在线一区二区| 爽好多水快深点欧美视频| 欧美成人精品高清在线播放 | 五月天丁香久久| 欧美一级日韩不卡播放免费| 国产一区二区三区观看| 亚洲激情第一区| 2017欧美狠狠色| 91福利视频久久久久| 狠狠色丁香婷婷综合久久片| 亚洲另类在线一区| 日韩一区二区中文字幕| 成人理论电影网| 蜜乳av一区二区| 一区二区在线观看视频在线观看| 日韩亚洲欧美高清| 在线区一区二视频| 懂色中文一区二区在线播放| 亚洲成av人片一区二区| 国产精品成人在线观看| 日韩免费一区二区| 在线观看av一区| www.一区二区| 韩国av一区二区三区四区| 依依成人精品视频| 国产精品色呦呦| 精品电影一区二区| 欧美日韩在线不卡| 一道本成人在线| 国产.欧美.日韩| 日本欧美大码aⅴ在线播放| 国产精品白丝在线| 久久夜色精品国产噜噜av| 欧美中文字幕一二三区视频| 成人18视频在线播放| 精品一区二区三区在线观看 | 亚洲成av人影院在线观看网| 中文字幕一区二区三区视频| 国产午夜精品一区二区三区四区 | 久久久久久免费| 欧美一区二区美女| 欧美日韩精品一区二区三区| 99久久精品久久久久久清纯| 成人久久18免费网站麻豆| 国产精品18久久久久| 久久9热精品视频| 久久91精品国产91久久小草| 秋霞午夜鲁丝一区二区老狼| 日韩精品专区在线影院观看| 欧美中文字幕一区二区三区 | 性久久久久久久久久久久| 91精品1区2区| 91在线观看下载| 91在线视频播放| 国产成人欧美日韩在线电影| 国内精品不卡在线| 麻豆成人免费电影| 国产在线麻豆精品观看| 精品一区二区日韩| 青青草原综合久久大伊人精品优势 | 91精品国产欧美一区二区| 欧美理论在线播放| 综合色天天鬼久久鬼色| 日本一区二区久久| 国产精品久久久久久久久快鸭 | 欧美日韩一区在线观看| 欧美日韩免费视频| 在线不卡一区二区| 日韩欧美成人一区| 久久色在线视频| 国产精品狼人久久影院观看方式| 国产午夜精品在线观看| 国产精品乱码久久久久久| 亚洲伦在线观看| 偷拍一区二区三区四区| 看片的网站亚洲| 成人av在线资源网站| 99精品国产一区二区三区不卡| 成人v精品蜜桃久久一区| 91亚洲精品乱码久久久久久蜜桃 | 欧美三级日韩三级国产三级| 日韩视频免费观看高清完整版| 精品国产乱码久久| 国产精品国产三级国产aⅴ中文| 一区二区三区.www| 美国毛片一区二区| 99久久久久久| 日韩午夜av一区| 中文字幕欧美一| 日本午夜精品视频在线观看| 国产不卡视频在线播放| 99精品国产一区二区三区不卡| 欧美日本在线视频| 精品日韩欧美一区二区| 综合婷婷亚洲小说| 国产自产高清不卡| 91国产免费观看| 久久久亚洲午夜电影| 亚洲乱码精品一二三四区日韩在线| av电影天堂一区二区在线| 91精品视频网| 亚洲三级电影网站| 黄一区二区三区| 欧美日韩午夜影院| 国产精品毛片a∨一区二区三区| 午夜精品久久久久久久| 国产成人av电影| 欧美一区二区三区四区高清| 亚洲欧洲在线观看av| 九色|91porny| 国产一区 二区| 欧美亚日韩国产aⅴ精品中极品| 久久精品视频一区二区| 免费观看一级特黄欧美大片| 在线视频综合导航| 一区精品在线播放| 国产精品亚洲第一区在线暖暖韩国| 69堂国产成人免费视频| 亚洲夂夂婷婷色拍ww47| 成人av在线电影| 日本一区二区三区dvd视频在线| 视频在线在亚洲| 日本韩国欧美国产| 欧美国产一区视频在线观看| 久久97超碰国产精品超碰| 91精品蜜臀在线一区尤物| 亚洲丝袜美腿综合| av电影在线观看完整版一区二区| 久久久午夜精品理论片中文字幕| 日韩专区在线视频| 欧美精品在欧美一区二区少妇| 亚洲制服丝袜一区| 欧美三级在线视频| 亚洲一区二区在线免费观看视频| 色哟哟一区二区在线观看| 亚洲色图第一区| 色吊一区二区三区| 99国产欧美另类久久久精品|