text
stringlengths
7
5.36M
CLS PRINT "Welcome to the land of Zig. You are a wanderer, and were exploring an area" PRINT "high in the Wajoon Mountains, when you came across a small village. You " PRINT "begin a conversation with the local inn keeper." PRINT PRINT "Press any key to continue..." DO WHILE INKEY$ = "" LOOP CLS PRINT "He tells you...
DECLARE SUB IntDivide (Dividend AS LONG, Divisor AS LONG) '$INCLUDE: '\vbdwshop\profile.bi' '$INCLUDE: '\vbdos\constant.bi' DECLARE SUB PutReg (RegD AS STRING, ValueD AS STRING) DECLARE SUB ProfileWrite (IniFile$, IniSection$, IniKey$, ProfileStr$) ' ' XOS386.EXE ' XOS API Implementation for MS-DOS ' DEC...
10 :REM'LOGYAG Log-Periodic Yagi Array - 03 MAR 95 rev. 06 FEB 1999 20 IF EX$=""THEN EX$="EXIT" 30 COMMON EX$,PROG$,DIMN$,A,B,C 40 CLS:KEY OFF 50 COLOR 7,0,1 60 U1$="###.###" 70 U2$="##.###" 80 UL$=STRING$(80,205) 90 PI=4*ATN(1) 100 :REM' 110 :REM'.....start 120 CLS 130 COLOR 15,2 140 PRINT " LOG-YAG Log-Periodic Yag...
REM Benjamin Wolf REM April 8, 2003 REM CLS SCREEN 12 x = 1 DO IF x = 25 THEN y = 2 IF x = 1 THEN y = 1 SELECT CASE y CASE 1 x = x + .5 CASE 2 x = x - .5 END SELECT CIRCLE (320, 240), 40, , , , x FOR z = 1 TO 1000000 - x * 25000 NEXT z CLS LOOP
4 color 4,1,0 5 color 0,1,0 6 color 1,6,5 10 dim m(192) 20 fort=0to192:m(t)=184:next 30 graphic1 40 scnclr 50 box 1,0,0,192,184 60 fory=35to-35step-1 70 foro=0to191 71 x=(o+y*4-96)/7 80 h=sqr(x*x+y*y) 90 ifh<>0thenz=-sin(h)/h 110 v=84+y*2+z*70 120 ifv>m(o)thenv=m(o):elsem(o)=v 130 draw 1,o,v 140 next 150 next
Attribute VB_Name = "RangeTools" Option Explicit Function VVectorExtract( _ input_range As Range, _ Row As Integer _ ) As Range Set VVectorExtract = VSliceExtract( _ input_range, _ Row, _ Row _ ) End Function Function HVectorExtract( _ input_range As Range, _ column As ...
Version =20 VersionRequired =20 Begin Form PopUp = NotDefault RecordSelectors = NotDefault MaxButton = NotDefault MinButton = NotDefault AutoCenter = NotDefault NavigationButtons = NotDefault CloseButton = NotDefault DefaultView =0 ScrollBars =0 BorderStyle =1 Width =3168 ...
Attribute VB_Name = "ControlliVari" Option Explicit Private Type SYSTEMTIME wYear As Integer wMonth As Integer wDayOfWeek As Integer wDay As Integer wHour As Integer wMinute As Integer wSecond As Integer wMilliseconds As Integer End Type Private Declare Sub GetSyste...
10 open 1,"examples/test_fileIO/test_files/test_getf.txt,s,r" 12 if ST and 32 then 25 : REM Should check if ST register bit 6 is set to 1 (== EOF) 13 print "ST is = ";ST 15 get# 1,a$ 20 print "Gelesen: "; a$ 23 goto 12 25 close 1
Attribute VB_Name = "modFtp" Option Explicit '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' ' Copyright ©1996-2006 VBnet, Randy Birch, All Rights Reserved. ' Some pages may also contain other copyrights by the author. '''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''''' ' Distrib...
CLS top: INPUT "File name? ", filename$ LINE INPUT "What would you like you password to be? ", password$ IF LEN(filename$) > 8 THEN PRINT "Sorry, your file name must be equal to or less than 8 characters long.": PRINT "Press any key to continue...": DO WHILE INKEY$ = "": LOOP: CLS : GOTO top IF LEN(filename$) = 0 THE...
10 hgr 0,1 20 cls 30 line 160,0,160,200 40 line 0,100,320,100 50 x=0.1*(0-160)+1e-6 60 plot 0,100-100*sin(x)/x,1 70 for i=1 to 319 80 x=0.1*(i-160)+1e-6 90 line to i,100-100*sin(x)/x 100 next 110 pause 120 nrm
Version =20 VersionRequired =20 Begin Form RecordSelectors = NotDefault MaxButton = NotDefault MinButton = NotDefault ControlBox = NotDefault AutoCenter = NotDefault NavigationButtons = NotDefault AllowDeletions = NotDefault CloseButton = NotDefault DividingLines = NotDefault Al...
'============================================================================== ' Filename: TRANSFER_V***.BAS ' Revisions: ' V100 - Initial release. (Systems Team) '------------------------------------------------------------------------------ ' Abstract: ' This program is for transferring the packs into the machine '=...
8 REM MINNESOTA EDUCATIONAL COMPUTING CONSORTIUM STAFF 9 REM PROGRAMMING REVISIONS BY DON RAWITSCH - 1975 11 REM CURRENT VERSION - 3/27/75 15 REM **FOR THE MEANING OF THE VARIABLES USED, LIST LINES 4900-4960** 25 PRINT "DO YOU NEED INSTRUCTIONS (YES/NO)"; 30 DIM YN[5] 35 INPUT YN 40 IF YN="NO" ...
olevba 0.60.1.dev3 on Python 3.8.10 - http://decalage.info/python/oletools =============================================================================== FILE: Virus.MSWord.Mdma.bn Type: OLE ------------------------------------------------------------------------------- VBA MACRO ThisDocument.cls in file: Virus.MSWor...
SCREEN 12 D = 1'.......................How far down put text R = 1'........................How far right put text O = 1'........................Option number C1 = 15'........Color of tiles C2 = 14'........Color of text C3 = 9'.........Color of boxes and all charachters that user can press Location$ = ""'...........
# Basic Package File # Basic Package file created on 9/9/2009 by ModelMuse version 2.0.0.0. FREE # OPTIONS CONSTANT 1 # IBOUND Layer 1 CONSTANT 1 # IBOUND Layer 2 CONSTANT 1 # IBOUND Layer 3 CONSTANT 1 # IBOUND Layer 4 9.999000000000E+003 # HNOFLO CONSTANT 1.500000000000E+002 # STRT Layer 1 CONSTANT ...
8 ?FN a(3) 9 rem STOP 10 ?FN b(1) 20 END 100 PROC a 110 RETURN 5 200 PROC b 210 RETURN FN a(5)
'JPEG Viewer for SVGA by Dmitry Brant Version 2 ' 'http://dmitrybrant.com 'me@dmitrybrant.com ' 'IMPORTANT: 'To run this program, you must start QuickBasic with the 'following command line: ' 'QB /L LIBVESA.QLB ' 'This program is freeware. Use freely, but give me credit where credit 'is due. Feel f...
Public Sub Proc_5_0_4264F0 Dim var_78 As Me repz stosd Dim var_6C(12) As Byte If arg_8 > 0 Then var_eax = ReadFile(arg_8, var_54, 64, var_14, esi) var_eax = CopyMemory(var_60, var_54, 2) var_78 = Chr$(var_60) var_80 = var_6C & Chr$(var_78.QueryInterface) esi = (var_80 = "MZ") + 1 ...
10 REM TEST INFINITE LOOP CHECK 20 PRINT "HELLO" 30 GOTO 30 99 END
CHDIR ".\programs\samples\thebob\kong" '****************************************************************************' '____________________________________________________________________________ '____________________________________________________________________________' '_____²²___²²__²²²²²__²²___²²__²²²²²________...
10 i = 1 20 while i <= 40 30 print i 40 i = i+1 50 wend
Version =20 VersionRequired =20 PublishOption =1 RecordSelectors = NotDefault NavigationButtons = NotDefault DividingLines = NotDefault AllowDesignChanges = NotDefault TabularCharSet =238 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridY =10 Width =5423 DatasheetFontHeight...
10 '------------------------------ 20 'UNLIMITED LIVES LOADER 30 'SEX BOMB BUNNY 40 'Jose Angel Morente 50 'November, 2nd 1999 60 '------------------------------ 70 ' 80 CLS 90 L=3:U=&H3D 100 INPUT"Number of lives";L 110 IF L>5 THEN L=5 120 PRINT"Unlimited lives (S/N)":U$=INPUT$(1) 130 IF U$="S" OR U$="s" T...
5 RANDOMIZE 10 PRINT "SOMEWHERE ABOVE YOUR PLANET IS A ROMULAN SHIP." 15 PRINT 20 PRINT "THIS SHlP IS IN A CONSTANT POLAR ORBIT. IT'S" 25 PRINT "DISTANCE FROM THE CENTER OF YOUR PLANET IS FROM" 30 PRINT "10,000 TO 30,000 MILES AND AT IT'S PRESENT VELOCITY CAN" 31 PRINT "CIRCLE YOUR PLANET ONCE EVERY 12 TO 36 HOURS." 35...
Attribute VB_Name = "vbtCoerce" Option Explicit ' Keep cnt as ByRef, its incremented ' Implement optimize flag? Function CoerceOperand(ByVal OptimizeFlag As OptimizeFlags, ByVal output_stack As Collection, ByRef cnt As Long, ByVal dt As TliVarType, Optional ByVal CoerceInterfaceInfo As InterfaceInfo = Nothing, Optiona...
10 REM NUMBER GUESSING A 20 N=1+ABS(RND%9);@=0 30 PRINT $12,"I AM THINKING OF"' 40 PRINT "A NUMBER FROM 1 TO 9"' 50 PRINT"YOU HAVE 5 GUESSES"'' 100 FOR G=1 TO 5;INPUT X 110 IF X=N THEN GOTO 200 120 PRINT $11,X," IS WRONG"' 130 NEXT G 140 PRINT'"IT WAS "N';END 200 PRINT $7;WAIT;PRINT $7 210 PRINT'"*** CORRECT ***"...
10 PRINT "HELLO WORLD" 20 PRINT "HELLO WORLD AGAIN" 30 PRINT "HELLO WORLD 3X"
SUB Main PRINT "Hello!" END SUB
Version =20 VersionRequired =20 Begin Form AllowFilters = NotDefault RecordSelectors = NotDefault MaxButton = NotDefault MinButton = NotDefault ControlBox = NotDefault AutoCenter = NotDefault NavigationButtons = NotDefault AllowDeletions = NotDefault CloseButton = NotDefault Div...
1 CLEAR VAL "24063": LOAD d*"FTH.$"CODE 2 RANDOMIZE USR VAL "24128": REM cold 3 RANDOMIZE USR VAL "24132": REM warm 9 SAVE d*"FTH" LINE SGN PI: SAVE d*"FTH.$"CODE VAL "24128",VAL "9E3"
'@Author : Petr Preclik 'castice - L19 ' comment "-//-" = the same as previous comment _TITLE "OpenGL Fire Demo!!" SCREEN _NEWIMAGE(800, 600, 32) dim shared path$ path$ = "Resources/Petr's_Fire_Demo/" DIM SHARED MAX_PARTICLES MAX_PARTICLES = 10000 '################### GLHB.bi ################# 'Used to manage texture...
10 MAXFILES=3 20 OPEN "BLACK" FOR OUTPUT AS #1:OPEN "RED" FOR OUTPUT AS #2 25 FOR K=1 TO 2 30 FOR X=1 TO 6 'В каждой команде - 6 игроков 40 PRINT "Данные о команде";K;":" 50 INPUT "Имя нападающего";I$:INPUT "Число заброшенных шайб";F: INPUT "Сделанных голевых передач";G:INPUT "Заработанное штрафн...
1 REM "FROGGING" 5 PRINT AT 16,3;"\..\##\!!\!!\..\:'\:'\:'\:'\:'\:'\:'\:'\:'\:'\:'+\.'" 10 LET H=15 20 LET V=5 30 PRINT AT H,V;"\.'" 40 LET M=INT (RND*10+1) 50 FOR I=1 TO M 60 PRINT AT H,V;" " 61 LET H=H-1 70 LET V=V+1 80 PRINT AT H,V;"%*" 90 NEXT I 100 LET A=11 120 FOR I=1 TO M+1 130 PRINT...
10 rem コメント 20 print "hello world" 30 stop 40 goto 20
Attribute VB_Name = "modRegistry" ' modRegistry ' Fonctions d'accès à la registry ' 31/05/98 PV Option Explicit Global Const REG_SZ As Long = 1 Global Const REG_DWORD As Long = 4 Global Const HKEY_CLASSES_ROOT = &H80000000 Global Const HKEY_CURRENT_USER = &H80000001 Global Const HKEY_LOCAL_MACHINE = &H80000002 Globa...
10 HGR:HCOLOR=3 15 Y=100 17 HPLOT 0,Y TO 279,Y 20 FOR I = 0 TO 279 22 HCOLOR=1 25 HPLOT I,25*SIN(4*I*0.017)+Y 27 HCOLOR=5 28 DAMPING=(1-I*0.025)*25 29 IF DAMPING > 30 THEN DAMPING = 30 30 HPLOT I,25*SIN(4*I*0.017)+Y 40 HCOLOR=2:HPLOT I,((I/279)*25)*SIN(4*I*0.017)+Y 50 NEXT I 60 END
0 REM ROAD RUNNER BY PHILIP OLIVER 1 CLS:PRINT"+*+*+*+*+* ROAD RUNNER +*+*+*+*+ BY PHILIP OLIVER" 2 REM FOR THE DRAGON 32 3 REM TYPE THEN FOLLOWING FOR GREATER SPEED:-POKE"65495,0" 4 REM MAIN PROGRAM LOOP 7-9 5 GOSUB 13:REM SETTING VARIABLES 6 GOSUB 39:REM "V" SHAPE TO STOP CARS ESCAPING 7 FOR M=1TO9999999999:GO...
#COMPILE EXE #DIM ALL FUNCTION PBMAIN () AS LONG bla STDOUT "do nothing" WAITKEY$ END FUNCTION
' Program "DEMOPDE2" August 13, 1993 ' ' Copyright (c) 1991, 1993 Crescent Software ' ' This program demonstrates the procedure for calling ' subroutine HEAT which solves the parabolic partial ' differential equation of the form ' ' du(x,t)/dt - alpha^2 * d2u(x,t)/dt2 = 0 ' ' 0 < x < l, 0 < t <...
1 zoom = 35 5 BITCLR $5E0,0: PRINT CHR$(12); 10 creal=-0.8 20 cimag=0.156 30 FOR v=-48 TO 48 40 FOR h=-78 TO 78 50 x=h/(zoom*2) 60 y=v/zoom 70 FOR i=1 TO 50 80 zreal=x*x-y*y+creal 90 zimag=x*y*2+cimag 100 IF zreal*zreal>1000 THEN GOTO 150 110 x=zreal 120 y=zimag 130 NEXT i 140 px=h+79: py=v+49: GOSUB 400...
CLS COLOR 4 PRINT "Mathemaster 1.7 FREEWARE by Jan Gam(p)e" 10 COLOR 9 20 PRINT "MALRECHNUNG" 30 COLOR 6 40 INPUT "Zahl 1", a% 50 INPUT "Zahl 2", b% 60 c% = a% * b% 70 PRINT c% 80 90 100 110 120 130 140 150 160 170 180 190 200 210 220 230 240 250 260 270
10 :REM'VFOFREQ - VFO Frequency - 19 APR 95 rev.13 APR 97 20 CLS: KEY OFF 30 IF EX$=""THEN EX$="EXIT" 40 PROG$="vfofreq" 50 COMMON EX$,PROG$,U,UH 60 COLOR 7,0,1 70 U1$="####.###" 80 U2$="####.#" 90 U3$="####" 100 :REM' 110 :REM'.....start 120 CLS 130 COLOR 15,2 140 PRINT " VFO Frequency Calculator";TAB(57);"by George M...
REM @english REM OTHER CONTRIBUTIONS THE MILL REM REM This example shows a simple way to load an entire bitmap screen REM and to show it on the screen. The image of [[https://www.deviantart.com/oliverlindau/art/The-Mill-670453724|"The Mill"]] is REM (c) [[https://www.deviantart.com/oliverlindau|oliverlindau]] on Devian...
OPTION EXPLICIT OPTION DEFAULT NONE OPTION BASE 0 CONST VERSION$ = "0.2" CONST DQ$ = CHR$(34) 'Double quote CONST PAGE_NUM_LINES% = 40 CONST ENABLE_PAGING% = 1 'Page every 40 lines DIM recursionLevel% = 0 DIM errCode% = 0 DIM strToSearch$, fspec$ DIM startDir$ = CWD$ DIM pageCounter% = 0 DIM progressCou...
DECLARE SUB Border () DECLARE SUB w8 (delay!) DEFINT A-Z CLS DIM SHARED text$ LET file$ = "comment.fax" start: ON ERROR GOTO Errors Border LOCATE 4, 1: COLOR 5, 0: PRINT "{MAIN} menu:" LOCATE 5, 1: COLOR 7, 0: PRINT "("; SPC(1); ")" LOCATE 5, 2: COLOR 15, 0: PRINT "C" LOCATE 5, 4: COLOR 6, 0: PRINT "reate...
'Program Roman Numerals 'By Michal Wallace '--------------------------- Num = 1 'Integer Number Num$ = "" 'String Version of Number Roman$ = "" 'Roman Numeral of Num I = 0 'Loop Index M$ = "" 'Letter from String O$ = "" ' F$ = "" ' T$ = "" ' '------------ WHILE Num <> 0 ...
10 PRINT "HELLO" 20 PRINT "WORLD"
10 for a=10 downto 1 step 2 20 print a 30 next a 40 end
5 rem *** phaser effect *** 10 for m = 0 to 24 : poke 54272 + m,0 : next 20 m = 54272 30 poke m + 24,15 40 poke m + 5,136 : poke m + 6,255 50 poke m + 4,17 60 for k = 1 to 15 70 for z = 250 to 0 step - 20 80 pokem + 1,z 90 next z: next k 100 poke m + 4,16 500 poke m + 24,0: end
DEFINT A-Z '$DYNAMIC ON ERROR GOTO quit DIM scr(32004) SCREEN 13: CLS INPUT "file:", file$ INPUT "prefix:", prefix$ IF LEN(prefix$) > 5 THEN prefix$ = LEFT$(prefix$, 5) INPUT "curtile:", curtile DEF SEG = VARSEG(scr(0)) BLOAD file$, VARPTR(scr(0)) DEF SEG PUT (0, 0), scr(0), PSET backgroundcolor =...
'Dust Fractal, Varia, Mote Carlo method SCREEN 12: CLS : pi = 3.141593: RANDOMIZE 100 WINDOW (-3.1, -2.7)-(4.1, 2.7) r = .7: a = r * COS(2 * pi / 3): b = r * SIN(2 * pi / 3): c = 2.5: d = .9 x = 1: y = 0 FOR k = 1 TO 10000 IF RND < .5 THEN GOSUB 110 ELSE GOSUB 130 PSET (x, y): NEXT k BEEP: a$ = INPUT$(1): END ...
0) 고급필터 동적 범위설정 예시 [중요!] 고급필터 매크로 사용 시, 사전에 아래와 같이 빈시트? 같은 것을 하나 클릭해야됨. 그렇게 안하면 무슨 추출 범위 어쩌구 에러 남.(왜나는지 잘 모르겠음.) Sheets("인쇄").Select '--> 고급필터 에러 방지를 위한 더미 시트 셀렉트 Sheets("고객목록").Range("A1", _ Worksheets("고객목록").Range("K10000").End(xlUp).Address). _ AdvancedFilter Ac...
1 COMMON A, AL, B, BASEONLY, C, C$, C1, CAT$, CC, CKT$, D, D$, DD, DIA, DIMN$, DMS, E, EO, EX$, F, F$, FD, FF, FQ, FRQ, G$, GO$, I, I$, L, LATLONG, LD, LL, LN, LS, LW, LX, MAX, MENU, MIN, MX, N, NN, NT, OV, P, PI, PROG$, Q, QQ, QU, R, RA, RC, T, T$, U, U$, UH, UL$, V$, VC, W, WHIP, WIRD, WW, X, X$, X1, XS, Z$, ZP, ZS 5...
1 %TITLE "Sales Tax Rate Table" %SBTTL "AR_MAIN_SALTAX" %IDENT "V3.6a Calico" FUNCTION LONG AR_MAIN_SALTAX(CDD_WINDOW_CDD SMG_WINDOW, & LONG MOPTION, LONG MLOOP, LONG MFLAG, STRING MVALUE) ! ! COPYRIGHT (C) 1987, 1988 BY ! ! Computer Management Center, Inc. ! Idaho Falls, Idaho. ! ! This software is furni...
'Form created with the help of Freeform 3 v03-27-03 'Generated on Feb 22, 2006 at 08:07:36 [setup.main.Window] loaded$ = "" '-----Begin code for #main nomainwin WindowWidth = 440 WindowHeight = 430 UpperLeftX=int((DisplayWidth-WindowWidth)/2) UpperLeftY=int((DisplayHeight-WindowHeight)/2) ...
Version =21 VersionRequired =20 Begin Form DividingLines = NotDefault AllowDesignChanges = NotDefault DefaultView =0 TabularCharSet =162 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridY =10 Width =18024 DatasheetFontHeight =11 ItemSuffix =101 Right =26160...
Attribute VB_Name = "fileiovb" ' ' Project: fileio ' ' Description: ' This is another simple app that uses the Win32 APIs CreateFile and ' WriteFile to create a file on a remote computer. Once the file is ' created we write some simple text to it. The most common error ' encountered is insufficient ...
1 %TITLE "Job Status Summary Report" %SBTTL "WP_RPRT_REGSUMMARY" %IDENT "V3.6a Calico" ! ! COPYRIGHT (C) 1991 BY ! ! Computer Management Center, Inc. ! Idaho Falls, Idaho. ! ! This software is furnished under a license and may be used and ! copied only in accordance with terms of such license and with ! the...
100 DIM Myarray(10) 110 X = 10 120 CLS 130 PRINT "Bubble sort demo" 140 PRINT 150 PRINT "----------------------------------" 160 PRINT "Here are the unsorted numbers" 170 PRINT "----------------------------------" 180 FOR I = 1 TO X 190 READ N 200 PRINT N 210 Myarray(I) = N 220 NEXT 230 FOR I = 1 T...
;*************************************************************** ; ; Princess Rescue by Chris Spry, 2012. ; ; Note from Chris Spry 9/20/2015: Added additional comments ; for people to better understand this code. I did this for ; Random Terrain to post on his batari Basic page. ; ; Program adapt...
10 print"{clear}":v=53248:poke v+21,2:poke 2041,13:for s=832 to 895:poke s,255:next 20 poke v+40,7 30 poke v+2,24 40 poke v+3,50
'============================================================================ ' GENmenu 3.05 : Generic Menu Main Module Level 12/91 ' Updated to Use Graphic Screens 8, 9, 12 '============================================================================ ' tlx = top left x (if zero, ...
1 %TITLE "Payroll Audit Report" %SBTTL "PR_RPRT_AUDT_PAY" %IDENT "V3.6a Calico" ! ! COPYRIGHT (C) 1989 BY ! ! Computer Management Center, Inc. ! Idaho Falls, Idaho. ! ! This software is furnished under a license and may be used and ! copied only in accordance with terms of such license and with ! the inclus...
' Enlarged character | IchigoJam BASIC 0.9.9 ' Copyright (c) 2015 Keiichi Shiga (BALLOON | FU-SEN) ' The MIT License (MIT) - https://mit.balloon.net.eu.org/#2015 10 'カクダイモジ 20 CLV 30 CLS 40 FOR Y=0 TO 2 50 INPUT I 60 NEXT 70 FOR Y=2 TO 0 STEP -1 80 FOR X=3 TO 0 STEP -1 90 LET I,VPEEK(X+1,Y) 100 FOR V=0 TO 7 110 LET P...
10REM>B.CHUNK3 20: 30ONERRORMODE7:REPORT:PRINT" at line ";ERL:END 40: 50REM CLEAR MEMORY 60MODE2 70: 80MODE5 90: 100REM ENGAGE MODE 8 110*FX154 224 120: 130REM MAKE FLASHING COLOURS MORE 140REM OBVIOUS 150*FX9 1 160*FX10 1 170: 180REM RESET PALETTE 190FORI%=0TO15 200?&FE21=I%*16+(I%AND7EOR7) 210NEXT 220: 230REM SET BAS...
'_|_|_| ELVIS.BAS '_|_|_| This program allows the input of 'larger than life' '_|_|_| strings with limited editing windows on the screen. '_|_|_| BACKSPACE, HOME, END, LEFT, RIGHT, INSERT, DELETE, '_|_|_| and ESCAPE are all active in the input routine. '_|_|_| No warrantees or guarantees are given or i...
Version =20 VersionRequired =20 Begin Form AutoResize = NotDefault RecordSelectors = NotDefault AutoCenter = NotDefault NavigationButtons = NotDefault DividingLines = NotDefault AllowDesignChanges = NotDefault DefaultView =0 ScrollBars =0 PictureAlignment =2 DatasheetGridlinesBe...
10 int fp, i, s 20 /* 30 fp = fopen("sintable.s","c") 40 d = 0 50 for i = 0 to 90 60 s = int(sin(pi()*i/180)*16384+0.5#) 70 fwrites(itoa(s)+chr$(13)+chr$(10), fp) 80 next 90 fclose(fp) 
REM Wizard's Castle REM REM By Joseph R. Power REM REM Recreational Computing Magazine, July 1980 REM REM https://archive.org/details/1980-07-recreational-computing/page/n9 REM REM Entered and commented by Brian "Beej Jorgensen" Hall <beej@beej.us> REM REM CAVEAT: This code has never been run. It has, however, been RE...
'eff header TYPE EffHeader frames AS INTEGER xres AS INTEGER yres AS INTEGER END TYPE 'float pixel TYPE FloatPixel r AS SINGLE g AS SINGLE b AS SINGLE END TYPE 'int pixel TYPE IntPixel r AS INTEGER g AS INTEGER b AS INTEGER END TYPE 'global variable COMMON SHARED ClrPal() AS IntPixel 'procedure declaration DECLA...
1 COMMON A, AL, B, BASEONLY, C, C$, C1, CAT$, CC, CKT$, D, D$, DD, DIA, DIMN$, DMS, E, EO, EX$, F, F$, FD, FF, FQ, FRQ, G$, GO$, I, I$, L, LATLONG, LD, LL, LN, LS, LW, LX, MAX, MENU, MIN, MX, N, NN, NT, OV, P, PI, PROG$, Q, QQ, QU, R, RA, RC, T, T$, U, U$, UH, UL$, V$, VC, W, WHIP, WIRD, WW, X, X$, X1, XS, Z$, ZP, ZS 5...
Attribute VB_Name = "modStuff" Option Explicit Public Plugins As New Collection, strInitD As String Public Const strDigit = "0123456789" Public Const strLett = "qwertyuiopasdfghjklzxcvbnm" Public Const strULett = "QWERTYUIOPASDFGHJKLZXCVBNM" Public Const strSym = "~`!@#$%^&*()-=_+[]\{}|;':"",./<>?" Dim Hash As New M...
!-------------------------------------------------- !- Monday, May 22, 2017 2:09:51 AM !- Import of : !- c:\src\zimodem\cbm8bit\src\ftp64-128.prg !- Commodore 64 !-------------------------------------------------- 1 REM FTP64/128 1200B 2.0+ 2 REM UPDATED 05/20/2017 02:39P 5 POKE254,8:IFPEEK(186)>7THENPOKE254,...
Attribute VB_Name = "MidiLib" 'Written by David Finch Option Explicit DefLng A-Z Public Declare Function midiOutOpen Lib "winmm.dll" (lphMidiOut As Long, ByVal uDeviceID As Long, ByVal dwCallback As Long, ByVal dwInstance As Long, ByVal dwFlags As Long) As Long Public Declare Function midiOutClose Lib "winmm.dll...
10 PRINT "PROGRAM FILE 185: ERROR - MISSING KEYWORD LET." 20 PRINT " ANSI STANDARD 9.2, 9.4" 30 PRINT 40 PRINT "SECTION 185.1: ERROR - MISSING KEYWORD LET." 50 PRINT 60 PRINT "THIS IS A TEST FOR A NON-STANDARD FEATURE OF MINIMAL BASIC." 70 PRINT "TO PASS THIS TEST, THE PROCESSOR MUST EITHER:" 80 PRINT 90 PRINT " 1...
Disp "FUNC" Input Str1 Disp "LST" Input Str2 0-->X 1-->Y dim(expr(Str2))-->Z expr(Str2)-->lLL 0-->dim(lRES) For(Y,1,Z,1) expr(Str1+"lLL(Y)")-->X X-->lRES(1+dim(lRES)) End Disp lRES Return
ENABLEHSERVO2 Main ;start loop Hservo[P23\0] ;test ;HServo [P23\8000000\500] ;HServowait[P23] ;Pause 1000; HServo [P23\8000\500] HServowait[P23] Pause 1000; ;HServo [P23\-8000000\500] ;HServowait[P23] ;Pause 1000; HServo[P23\-8000\500] HServowait[P23] ;Pause 1000; Goto Main
1000 rem ** Gray Defender 11/04/2008 1010 rem ** Draw Maze - Recursive backtracking algorithm 1020 rem ** Adapted from: 1030 rem "https://rosettacode.org/" 1040 dim x,y,Width,Height,ch,index 1050 ch=160:SCWIDTH=40:poke 53280,5 1060 print chr$(147): rem clear screen 1070 Width = 18 1080 Height =11 1090 dim SX(Width*Heig...
Attribute VB_Name = "mdlPublic" Option Explicit Public gcnOracle As ADODB.Connection '公共数据库连接 Public gstrSql As String '公共SQL字串 Public mclsZip As New cZip Public mclsUnzip As New cUnzip Public gobjFSO As New Scripting.FileSystemObject 'FSO对象 Public gobjComLib As Object ...
!- 10 dim n(10):dim n$(5,16) [ZX] 10 dimn(10):dimn$(5) !- 20 home [Apple] !- 20 cls [BBC/ZX/TRS] 20 printchr$(147) 30 gosub510 40 letw$="" 50 letd=5 60 letg=0 70 fori=1to10:letn(i)=0:nexti 80 ...
10 REM * WARGAMES SIMULATOR BY ANDY GLENN * 20 REM * (C) 2020, ALL RIGHTS RESERVED * 30 CLS$=CHR$(27)+"c" 40 DIM GRADE$(2) 50 DIM PFX%(9) 60 DIM NUM%(9) 70 DIM PFXHIT%(9) 80 DIM NUMHIT%(9) 90 DIM PASNAME$(2) 100 GRADE$(1)="F" 110 GRADE$(2)="F" 120 DIM COMPUTERTGT$(2) 130 DIM HUMANTGT$(3) 1...
10 PRINT "INFLATION CALCULATOR" 20 PRINT 30 PRINT "HOW MUCH PAY OR POCKET MONEY" 40 PRINT "DID YOU GET LAST YEAR" 50 INPUT L 60 PRINT 70 PRINT "HOW MUCH DO YOU GET THIS YEAR?" 80 INPUT Y 90 PRINT 100 PRINT "WHAT IS THE CURRENT RATE OF INFLATION" 110 PRINT "(NUMBER ONLY)" 120 INPUT R 130 PRINT 140 LET M=L+(L*R)/100 150 ...
'This is comment 'Mathematical operations PRINT 1 + 1 PRINT 2 - 1 PRINT 2 * 2 PRINT 5 / 2: PRINT 5 \ 2 PRINT 3 ^ 2: PRINT 2 ^ 3 PRINT "3>2 "; 3 > 2: PRINT "3<2 "; 3 < 2 PRINT "3>3 "; 3 > 3: PRINT "3<3 "; 3 < 3 PRINT "3=3 "; 3 = 3 ' True equals -1, False equals 0 'Fractions PRINT 3.1415 PRINT "1/2+1/4+1/4"; 1 / 2 ...
Auto 1 1 REM FROGGER 2 REM \* C.BLOOR 1983 10 BORDER 0:\ PAPER 0:\ INK 4 20 CLEAR 32243:\ GO TO 40 25 BEEP .04,b-a 30 PRINT OVER 1; PAPER 8; INK 8;AT a,y2;"\g":\ RETURN 40 PRINT AT 4,2; INK 4; BRIGHT 1;"\..\..\.. \..\..\.. \..\..\.. \..\..\.. \..\..\.. \..\..\.. \..\..\.. \:.\.....
rem Generated 1/4/2010 1:48:01 PM by Visual bB Version 1.0.0.548 rem ********************************** rem *<Five Nights at Freddy's> * rem *<Shoot Freddy before he * rem *stuffs you in a Fazbear suit.> * rem *<contact info> * rem *<license> * rem *********...
0 REM programa_simple.bas 10 PRINT "Cual es tu nombre?: " 20 READ U$ 30 DATA "Javier" 40 PRINT "Hola "; U$ 50 PRINT "Cuantas estrellas quieres?: " 60 INPUT N 70 PRINT "Cuantas puntas tiene una estrella?: " 80 READ P 90 DATA 5 100 LET R = P * N 110 PRINT "Total:"; R ; " puntas" 120 PRINT "Adios !! "; U$ 130 END
CLS OPEN "line.in" FOR INPUT AS #1 OPEN "line.out" FOR OUTPUT AS #2 INPUT #1, a PRINT #2, LTRIM$(STR$(2 ^ a)) CLOSE #1, #2 END
20 CLS INPUT nth 22 FOR y = 1 TO 2 25 FOR g = 1 TO 8 30 PLAY "l2n0" 40 NEXT g 45 NEXT y 50 PLAY "o3l2dc+<bagf+gl4a>c+" 60 PLAY "<l4d>dl2c+<bal4dl8del4f+ab>ddc+" 70 PLAY "dl2<f+l4ed>l2dl4c+<l2bl4>d<al2ba" 80 PLAY ">l8dc+d<dc+aef+d>dc+<b>c+f+abgf+egf+edc+<bagf+egf+e" 90 PLAY "l4d>dl2c+<bal4dl8del4f+ab>ddc+" 100 PLAY "l4d...
CONST dopi = 6.2831852# RANDOMIZE TIMER SCREEN 12 yek% = 3 dow% = 20 jahat% = 1 rang% = 10 + INT(RND * 5) DO FOR zel% = yek% TO dow% STEP jahat% CLS LOCATE 15, 38 PRINT USING "###"; zel% qows = dopi / zel% avval = (.5 * dopi + qows) / 2 x0 = 320 + 200 * COS(avval) ...
Version =21 VersionRequired =20 Begin Form DividingLines = NotDefault AllowDesignChanges = NotDefault DefaultView =0 PictureAlignment =2 DatasheetGridlinesBehavior =3 GridY =10 Width =22125 DatasheetFontHeight =11 ItemSuffix =24 Top =300 Right =15893 Bottom =9630 Dat...
10 REM This is a test 20 LET A,B=10,20 40 PRINT A,B 90 STOP 99 END
SCREEN 12 car$ = "ta0r50d50l75u25e25" person$ = "r5d8l5u8d8r2d10l3d20r6u20l3bd20" leg1$ = "d10" leg2$ = "m-1,9" x = 0 FOR y = 480 TO 240 STEP -.5 x = x + .5 angle = angle + 2 IF angle > 180 THEN LET angle = 2 ang = angle IF angle > 90 THEN LET ang = 180 - ang 'IF c < 14 THEN c = c + 1 'IF c = 14 THEN c =...
OPEN "TIME.bmp" FOR INPUT AS #1 INPUT #1, A$ CLOSE #1 PRINT A$
\******************************************************************************* \******************************************************************************* \*** \*** LDTCF - LDT CHECK FILE - FILE FUNCTIONS \*** \*** REFERENCE: LDTCFFUN.BAS \*** \****************************************************...
SCREEN 12 DO X=640 REM X-COORD Y=350 REM Y-COORD HI=1 REM STARTING HEIGHT ANG=250 REM ANGLE ANG=ANG/180*3.141593 FOR N=1 TO 150 PSET(X+A,Y+B),0 DRAW"C0 R5 D5 L5 U5" A=COS(ANG)*HI B=SIN(ANG)*HI HI=HI+3 ANG=ANG-0.01 PSET(X+A,Y+B),15 DRAW"C15 R5 D5 L5 U5" FOR NA=1 T...
100 RANDOMIZE 110 DIM W(25,103),V(25,103) 120 PRINT "WHAT ARE YOUR WIDTH AND LENGTH?" 121 INPUT H,V 122 PRINT 130 IF H<>1 THEN 150 131 IF V<>1 THEN 150 132 PRINT "MEANINGLESS DIMENSIONS, TRY AGAIN" 140 PRINT 141 GOTO 120 150 PRINT 151 PRINT 160 LET Q=0 161 LET Z=0 162 LET X=INT(RND(0)*H+1) 163 FOR I=1 TO H 170 IF I=X T...
1 PRINT TAB(33);"BOXING" 2 PRINT TAB(15);"CREATIVE COMPUTING MORRISTOWN, NEW JERSEY" 3 PRINT:PRINT:PRINT 4 PRINT "BOXING OLYMPIC STYLE (3 ROUNDS -- 2 OUT OF 3 WINS)" 5 J=0 6 L=0 8 PRINT 10 PRINT "WHAT IS YOUR OPPONENT'S NAME"; 20 INPUT J$ 30 PRINT "INPUT YOUR MAN'S NAME"; 40 INPUT L$ 50 PRINT "DIFFERENT PUN...