English
Source / code snippets

Font 1 - Rahmensymbole for tables

 

p.specht

as eingeschworener fan of PRINT and GOTO has one it nowadys not slight: the social Standing is to there! Tabellenausgaben for kaufmännnische tack can but with Font 1 & Co still on the fastest produce. time kills, sometimes.
for tables ought to one then but at least reasonable Rahmensymbole use. enclosed The of XProfan 11 offered characters as half-way understandable macro. lo$ ... left supra, qu$ ... athwart under, etc.
cls
declare lo$,ro$,lu$,ru$,hz$,vt$,qu$,qo$,vr$,vl$,kz$,bk$,bk2$
declare lo2$,ro2$,lu2$,ru2$,hz2$,vt2$,qu2$,qo2$,vr2$,vl2$,kz2$
lo$=chr $(218):ro$=chr $(191):lu$=chr $(192):ru$=chr $(217):hz$=chr $(196):vt$=chr $(179)
qu$=chr $(194):qo$=chr $(193):vr$=chr $(195):vl$=chr $(180):kz$=chr $(197):bk$=chr $(32)
lo2$=chr $(201):ro2$=chr $(187):lu2$=chr $(200):ru2$=chr $(188):hz2$=chr $(205):vt2$=chr $(186)
qu2$=chr $(203):qo2$=chr $(202):vr2$=chr $(204):vl2$=chr $(185):kz2$=chr $(206):bk2$=chr $(32)
font 1:print
print lo$;  hz$;hz$;  qu$;  hz$;ro$
print vt$;  "a";"b";  vt$;  "c";vt$
print vr$;  hz$;hz$;  kz$;  hz$;vl$
print vt$;  "d";"e";  vt$;  "f";vt$
print vt$;  "g";"h";  vt$;  "i";vt$
print lu$;  hz$;hz$;  qo$;  hz$;ru$
font 1:print
print lo2$;hz2$;hz2$;qu2$;hz2$;ro2$
print vt2$;bk2$;bk2$;vt2$;bk2$;vt2$
print vr2$;hz2$;hz2$;kz2$;hz2$;vl2$
print vt2$;bk2$;bk2$;vt2$;bk2$;vt2$
print vt2$;bk2$;bk2$;vt2$;bk2$;vt2$
print lu2$;hz2$;hz2$;qo2$;hz2$;ru2$
font 1:print
print lo$;  hz$;hz$;  qu$;  hz$;hz$;  ro$
print vt$;  "a";"b";  vt$;  "c";"c";  vt$
print vt$;  "a";"b";  vt$;  "c";"c";  vt$
print vr$;  hz$;hz$;  kz$;  hz$;hz$;  vl$
print vt$;  "d";"e";  vt$;  "f";"c";  vt$
print vt$;  "g";"h";  vt$;  "i";"c";  vt$
print lu$;  hz$;hz$;  qo$;  hz$;hz$;  ru$
font 1:print
print lo$;  hz$;hz$;  qu$;  hz$;hz$;  ro$
print vt$;  "/";"\";  vt$;  "c";"c";  vt$
print vt$;  "\";"/";  vt$;  "c";"c";  vt$
print vr$;  hz$;hz$;  kz$;  hz$;hz$;  vl$
print vt$;  "d";"e";  vt$;  "f";"c";  vt$
print vt$;  "g";"h";  vt$;  "i";"c";  vt$
print lu$;  hz$;hz$;  qo$;  hz$;hz$;  ru$
WaitInput
END
 
XProfan 11
Computer: Gerät, daß es in Mikrosekunden erlaubt, 50.000 Fehler zu machen, zB 'daß' statt 'das'...
12/05/20  
 



with "mir" Better get going not correctly. displayed, stimmts?


 
12/06/20  
 




E.T.
i think, so reserves his



@IF: I see {$cleq}, verhaut there XPSE something ??

267 kB
Hochgeladen:12/06/20
Downloadcounter16
Download
 
Grüße aus Sachsen... Mario
WinXP, Win7 (64 Bit),Win8(.1),Win10, Win 11, Profan 6 - X4, XPSE, und 'nen schwarzes, blinkendes Dingens, wo ich das alles reinschütte...
12/06/20  
 




p.specht

Font 1 ought to whom Zeichensatz correctly switch.
by me saw it always How with Mario/E.T. from. though be I meanwhile draufgekommen, that I the to längerem Schonmal posted having - Sorry!
 
XProfan 11
Computer: Gerät, daß es in Mikrosekunden erlaubt, 50.000 Fehler zu machen, zB 'daß' statt 'das'...
12/06/20  
 



E.T. (06.12.2020)
i think, so reserves his





is Yes fuchtbar, then stay I rather with "meiner" Variante.

E.T. (06.12.2020)
@IF: I see {$cleq}, verhaut there XPSE something ??



No, have apparently jolly Fonts (xubuntu/xfce).
 
12/06/20  
 




p.specht

then zeig me still Please, How You binnen 5 minutes a ausdruckbare scheduler with 60 pages hinbekommst, velvet Raster.

P.s.: I knows already, if the who creates, then You!
 
XProfan 11
Computer: Gerät, daß es in Mikrosekunden erlaubt, 50.000 Fehler zu machen, zB 'daß' statt 'das'...
12/06/20  
 




p.specht

ASCII isn't dead (and ELVIS watts recently with of/ one servicestation sighted) !
here time to that whole ASCII-Zeichensatz and the three ANSI-mutants of XProfan-11 free:
Window Title " Textmode-Zeichensätze (ASCII) vergleichen  < moreover with Tastedruck, with stop ESC >"
window 1000,480
declare n&,i&

repeat

    WHILELOOP 0,2:n&=&LOOP

        Font n&
        cls:locate 2,56:print "FONT "+st$(n&)
        groin

        WhileLoop 0,255:i&=&loop

            locate 1+2*int(i&/32)+6,1+(i& mod 32)*3+10
            casenot i&=7:print Chr$(i&);' Nerviges characters "BELL" turn off

        endwhile

        waitinput 30000
        case %key=27:end

    ENDWHILE

    ' xprint(n&):waitinput
    hexprint(0)
    waitinput 10000

until %key=27

end

proc groin

    locate 4,8
    Print "+ 00 01 02 03 04 05 06 07 08 09 10 11 12 13 14 15 16 17 18 19 20 21 22 23 24 25 26 27 28 29 30 31 "
    locate 5,8
    Print "--------------------------------------------------------------------------------------------------"

    whileloop 0,7

        locate 7+2*&Loop,2
        print int(&Loop*32);tab(6);"+"

    endwhile

endproc

proc xprint :parameters m&

    declare k&,k$
    cls
    font m&
    locate 2,25:Print "Auch ASCII-ESCAPE-Sequenzen \\xFF liable the actually Font!"
    groin
    k$=\
    "\x00\x01\x02\x03\x04\x05\x06\x07\x08\x09\x0A\x0B\x0C\x0D\x0E\x0F"+\
    "\x10\x11\x12\x13\x14\x15\x16\x17\x18\x19\x1A\x1B\x1C\x1D\x1E\x1F"+\
    "\x20\x21\x22\x23\x24\x25\x26\x27\x28\x29\x2A\x2B\x2C\x2D\x2E\x2F"+\
    "\x30\x31\x32\x33\x34\x35\x36\x37\x38\x39\x3A\x3B\x3C\x3D\x3E\x3F"+\
    "\x40\x41\x42\x43\x44\x45\x46\x47\x48\x49\x4A\x4B\x4C\x4D\x4E\x4F"+\
    "\x50\x51\x52\x53\x54\x55\x56\x57\x58\x59\x5A\x5B\x5C\x5D\x5E\x5F"+\
    "\x60\x61\x62\x63\x64\x65\x66\x67\x68\x69\x6A\x6B\x6C\x6D\x6E\x6F"+\
    "\x70\x71\x72\x73\x74\x75\x76\x77\x78\x79\x7A\x7B\x7C\x7D\x7E\x7F"+\
    "\x80\x81\x82\x83\x84\x85\x86\x87\x88\x89\x8A\x8B\x8C\x8D\x8E\x8F"+\
    "\x90\x91\x92\x93\x94\x95\x96\x97\x98\x99\x9A\x9B\x9C\x9D\x9E\x9F"+\
    "\xA0\xA1\xA2\xA3\xA4\xA5\xA6\xA7\xA8\xA9\xAA\xAB\xAC\xAD\xAE\xAF"+\
    "\xB0\xB1\xB2\xB3\xB4\xB5\xB6\xB7\xB8\xB9\xBA\xBB\xBC\xBD\xBE\xBF"+\
    "\xC0\xC1\xC2\xC3\xC4\xC5\xC6\xC7\xC8\xC9\xCA\xCB\xCC\xCD\xCE\xCF"+\
    "\xD0\xD1\xD2\xD3\xD4\xD5\xD6\xD7\xD8\xD9\xDA\xDB\xDC\xDD\xDE\xDF"+\
    "\xE0\xE1\xE2\xE3\xE4\xE5\xE6\xE7\xE8\xE9\xEA\xEB\xEC\xED\xEE\xEF"+\
    "\xF0\xF1\xF2\xF3\xF4\xF5\xF6\xF7\xF8\xF9\xFA\xFB\xFC\xFD\xFE\xFF"

    WhileLoop 1,256:i&=&loop

        locate 2*(i&-1)/32+1+6,1+((i&-1) mod 32)*3+10
        print mid$(k$,i&,1);

    endwhile

endproc

proc hexprint :parameters m&

    declare k&,k$
    cls
    font m&
    locate 2,45:Print " as ESCAPE-sequence \\x0F "
    groin

    WhileLoop 0,255:i&=&loop

        locate 2*int(i&/32)+1+6,1+(i& mod 32)*3+9
        print right$("0"+hex$(i&),2);

    endwhile

endproc

 
Computer: Gerät, daß es in Mikrosekunden erlaubt, 50.000 Fehler zu machen, zB 'daß' statt 'das'...
12/06/20  
 



@Peter: I faith here lying one misconception to!
(or I übersehe time again something ^^)

what I meant with "Ist Yes fuchtbar, then stay I rather with "meiner" Variante.", related the by me (xubuntu/xfce) generierte Image:



in the comparison to that right "Produkt" of E.T.:



however meant but as joke to the I The Hieroglyphen (allegedly) rather find would (as The korrekte spending).

naturally find I it pity, that here by me (xubuntu/xfce) The spending not fit.

What the "ausdruckbare scheduler with 60 Seiten" concerns, so see I there In any drop thoroughly some Opportunities.

probably not always To 100% in "5 Minuten" machbar is, but:

so would it in example "egal", in Your View source The chr$-characters through (naturally according to the) z.B. "</td><td>" To supplant and the Prints even in a File (scheduler.html) To manage instead of on the Screen.

The scheduler.html against can even at will and very simply respected/ printed/ in a PDF written and be too automatically ausgedruckt go by Kommandozeilenaufruf the "Lieblingsbrowsers".

an nativere Solution would z.B. too the monkey about with the CR/ Druckerwagen-Rücklauf/ Chr(13) and Überdrucken with characters How ... ___ ||| ***, So how one with typewriter operates for Hervorhebungen.

latter contact I with Bondruckern so on, this with whom needle- and Thermodruckern so functions.

Roland Screen- Print- functions imho not correctly. with respect to CR, insofern print "Hallo world\r_____" unterstrichenes (or gelöschtes) "Hallo" show could.

here on xubuntu/xfce works (with o.g. example) "FixedSys" not. (vlt. semi so wild)
 
12/06/20  
 




p.specht

Please What is xubuntu/xfce ? sound interestingly!
 
XProfan 11
Computer: Gerät, daß es in Mikrosekunden erlaubt, 50.000 Fehler zu machen, zB 'daß' statt 'das'...
04/11/21  
 



Zum Quelltext


Topictitle, max. 100 characters.
 

Systemprofile:

no Systemprofil laid out. [anlegen]

XProfan:

 Posting  Font  Smilies  ▼ 

Please register circa a Posting To verfassen.
 

Topic-Options

2.126 Views

Untitledvor 0 min.
H.Brill05/21/24
N.Art07/23/21
Glubbfan06/19/21
Uwe ''Pascal'' Niemeier06/13/21
More...

Themeninformationen

this Topic has 3 subscriber:

p.specht (5x)
iF (3x)
E.T. (1x)


Admins  |  AGB  |  Applications  |  Authors  |  Chat  |  Privacy Policy  |  Download  |  Entrance  |  Help  |  Merchantportal  |  Imprint  |  Mart  |  Interfaces  |  SDK  |  Services  |  Games  |  Search  |  Support

One proposition all XProfan, The there's!


My XProfan
Private Messages
Own Storage Forum
Topics-Remember-List
Own Posts
Own Topics
Clipboard
Log off
 Deutsch English Français Español Italia
Translations

Privacy Policy


we use Cookies only as Session-Cookies because of the technical necessity and with us there no Cookies of Drittanbietern.

If you here on our Website click or navigate, stimmst You ours registration of Information in our Cookies on XProfan.Net To.

further Information To our Cookies and moreover, How You The control above keep, find You in ours nachfolgenden Datenschutzerklärung.


all rightDatenschutzerklärung
i want none Cookie