home *** CD-ROM | disk | FTP | other *** search
/ Best Tools for JAVA / Best Tools for JAVA.iso / GRAPHICS / BMPWIZ / BMPWIZ.ZIP / RAND1.BAS < prev    next >
Unknown  |  1994-02-05  |  539 b 

open in: MacOS 8.1     |     Win98     |     DOS

view JSON data     |     view as text

This file was not able to be converted.
This format is not currently supported by dexvert.

ConfidenceProgramDetectionMatch TypeSupport
66% dexvert GW-BASIC (document/gwBasic) ext Supported
66% dexvert GFA-BASIC Atari (other/gfaBASICAtari) ext Supported
1% dexvert Memotech MTX BASIC source (document/memotechMTXBASICSource) ext Unsupported
1% dexvert Amiga BASIC Protected File (other/amigaBASICProtectedFile) ext Unsupported
1% dexvert BAS VBDOS Pro 1.0 Source (other/basVBDOSPro10Source) ext Unsupported
1% dexvert Visual Basic Tokenized Source (other/visualBasicTokenizedSource) ext Unsupported
1% dexvert ZBASIC (other/zbasic) ext Unsupported
100% file data default



hex view
+--------+-------------------------+-------------------------+--------+--------+
|00000000| 17 02 00 00 0d 0a 27 20 | 52 61 6e 64 31 2e 0d 0a |......' |Rand1...|
|00000010| 27 20 46 69 6c 6c 20 61 | 6e 20 69 6d 61 67 65 20 |' Fill a|n image |
|00000020| 77 69 74 68 20 72 61 6e | 64 6f 6d 20 67 72 61 79 |with ran|dom gray|
|00000030| 73 20 70 69 78 65 6c 0d | 0a 0d 0a 27 20 49 6e 70 |s pixel.|...' Inp|
|00000040| 75 74 3a 09 6e 6f 6e 65 | 0d 0a 27 20 4f 75 74 70 |ut:.none|..' Outp|
|00000050| 75 74 3a 09 34 20 62 69 | 74 0d 0a 0d 0a 27 20 41 |ut:.4 bi|t....' A|
|00000060| 75 74 68 6f 72 3a 09 41 | 6e 64 72 65 61 20 42 65 |uthor:.A|ndrea Be|
|00000070| 6e 6f 6e 69 09 09 09 20 | 72 65 76 3a 09 31 2e 30 |noni... |rev:.1.0|
|00000080| 0d 0a 0d 0a 0d 0a 73 74 | 72 69 6e 67 20 20 20 20 |......st|ring |
|00000090| 09 6f 75 74 46 69 6c 65 | 0d 0a 44 65 76 43 6f 6e |.outFile|..DevCon|
|000000a0| 09 4f 62 6d 70 0d 0a 52 | 47 42 09 70 69 78 0d 0a |.Obmp..R|GB.pix..|
|000000b0| 66 6c 6f 61 74 20 20 09 | 78 2c 79 0d 0a 0d 0a 6f |float .|x,y....o|
|000000c0| 75 74 46 69 6c 65 3d 22 | 54 65 73 74 6f 2e 62 6d |utFile="|Testo.bm|
|000000d0| 70 22 09 09 09 09 27 20 | 6f 75 74 70 75 74 20 66 |p"....' |output f|
|000000e0| 69 6c 65 0d 0a 0d 0a 4f | 62 6d 70 3d 43 72 65 61 |ile....O|bmp=Crea|
|000000f0| 74 65 49 6d 61 67 65 28 | 33 32 30 2c 32 30 30 2c |teImage(|320,200,|
|00000100| 34 29 0d 0a 0d 0a 46 6f | 72 20 79 3d 30 20 74 6f |4)....Fo|r y=0 to|
|00000110| 20 4f 62 6d 70 2e 48 65 | 69 67 68 74 0d 0a 20 20 | Obmp.He|ight.. |
|00000120| 20 44 73 70 57 68 69 6c | 65 28 22 52 61 6e 64 6f | DspWhil|e("Rando|
|00000130| 6d 22 2c 31 30 30 2f 4f | 62 6d 70 2e 48 65 69 67 |m",100/O|bmp.Heig|
|00000140| 68 74 2a 79 29 0d 0a 20 | 20 20 46 6f 72 20 78 3d |ht*y).. | For x=|
|00000150| 30 20 74 6f 20 4f 62 6d | 70 2e 57 69 64 74 68 0d |0 to Obm|p.Width.|
|00000160| 0a 20 20 20 20 20 20 70 | 69 78 2e 4c 75 6d 3d 52 |. p|ix.Lum=R|
|00000170| 61 6e 64 28 32 35 35 29 | 0d 0a 20 20 20 20 20 20 |and(255)|.. |
|00000180| 53 65 74 50 69 78 65 6c | 28 4f 62 6d 70 2c 78 2c |SetPixel|(Obmp,x,|
|00000190| 79 2c 70 69 78 29 0d 0a | 20 20 20 4e 65 78 74 20 |y,pix)..| Next |
|000001a0| 78 0d 0a 4e 65 78 74 20 | 79 0d 0a 50 72 65 76 69 |x..Next |y..Previ|
|000001b0| 65 77 28 4f 62 6d 70 2c | 6f 75 74 46 69 6c 65 2c |ew(Obmp,|outFile,|
|000001c0| 33 32 30 2c 35 2c 4f 62 | 6d 70 2e 57 69 64 74 68 |320,5,Ob|mp.Width|
|000001d0| 2b 36 2c 4f 62 6d 70 2e | 48 65 69 67 68 74 2b 32 |+6,Obmp.|Height+2|
|000001e0| 30 29 0d 0a 53 61 76 65 | 49 6d 61 67 65 28 4f 62 |0)..Save|Image(Ob|
|000001f0| 6d 70 2c 6f 75 74 46 69 | 6c 65 29 0d 0a 44 73 70 |mp,outFi|le)..Dsp|
|00000200| 57 68 69 6c 65 28 22 22 | 2c 30 29 0d 0a 44 73 70 |While(""|,0)..Dsp|
|00000210| 4d 65 73 28 22 46 69 6e | 65 22 29 |Mes("Fin|e") |
+--------+-------------------------+-------------------------+--------+--------+