⭐ 欢迎来到虫虫下载站! | 📦 资源下载 📁 资源专辑 ℹ️ 关于我们
⭐ 虫虫下载站

📄 readme.ql

📁 著名算法大师高爷爷设计的语言。此语言结合了Tex和C
💻 QL
字号:
This is the readme file for CWEB for QDOS/SMSQ systems(These instructions are for systems with Toolkit II, please report any problems to me, the address is at the end of the file)If you want to compile CWEB for your QL system, you must firstconvert the ASCII code to the QL's character set.  Therefore youcan use the little BASIC program appended at the end of the file.For a first version you have to alter the supplied ctangle_c file.Set your DATA_USE to the directory you have the CWEB sources in, andthe PROG_USE to C68's directory.compile it with:ex cc;'common_c ctangle_c -bufp500K -octangle'then ctangle the source files with:ex datad$&'ctangle';'common_w comm-ql_ch'ex datad$&'ctangle';'ctangle_w ctang-ql_ch'ex datad$&'ctangle';'cweave_w cweav-ql_ch'Compile the following way (C68v4.14 +):ex cc;'-c common_c'ex cc;'-c ctangle_c'ex cc;'-c cweave_c'ex ld;'-bufp500K common_o ctangle_o -octangle'ex ld;'-bufp500K common_o cweave_o -ocweave'After that copy the ctangle and cweave executables into yourprograms directory (if you want them there).The DATA default may be used as usual.  E.g. if you havea file win2_data_test_w and the DATA default set towin2_data_ you may call ctangle with     ex ctangle;'test'assuming that ctangle is in your PROG default.Please report any problems with the QL version to:Robert KleinBluecherstrasse 24D-56349 KaubGermany**************** ASCII Conversion program ***************With this program you can convert DOS and Unix 7-Bit ASCIIfiles to the QL's character set.  You'll need Toolkit II.The program will take all the files in the source directoryand put them converted into the destination&source directory,e.g. you have as drive1$='win2_', drive2$='win3_',path1$='cweb_' and path2$='ql_'.  Then the routine will takeall files in win2_cweb_ (wthout subdirectories!) convert themand write them to 'win3_ql_cweb_'.  It's only a lousy hack,but it'll do it's job.1000 DEFine PROCedure dos2ql (drive1$,path1$,drive2$,path2$)1002 LOCal zx$,zx%,ishl,ashl1005 DELETE drive2$&path2$&'dirlist'1010 OPEN_NEW#5,drive2$&path2$&'dirlist'1020 DIR#5,drive1$&path1$1030 CLOSE#51040 OPEN_IN#5,drive2$&path2$&'dirlist'1050 INPUT#5,zx$:INPUT#5,zx$:REMark devicename and sectors1060 REPeat ashl1070   IF EOF(#5)THEN EXIT ashl1080   INPUT#5,zx$1085   IF '->' INSTR zx$ THEN NEXT ashl1090   OPEN_IN#3,drive1$&zx$1100   OPEN_NEW#4,drive2$&path2$&zx$1110   REPeat ishl1120     IF EOF(#3)THEN EXIT ishl1130     BGET#3,zx%1140     SELect ON zx%1150       = 13:REMark do nothing (DOS LineFeed)1155       = 26:REMark do nothing (DOS EOF sign)1160       = 96: BPUT#4,159:REMark Unix/DOS beginning quote sign1170       = REMAINDER : BPUT#4,zx%1180     END SELect1190   END REPeat ishl1195   CLOSE#3:CLOSE#41200 END REPeat ashl1205 CLOSE#51210 END DEFine dos2ql

⌨️ 快捷键说明

复制代码 Ctrl + C
搜索代码 Ctrl + F
全屏模式 F11
切换主题 Ctrl + Shift + D
显示快捷键 ?
增大字号 Ctrl + =
减小字号 Ctrl + -