home
***
CD-ROM
|
disk
|
FTP
|
other
***
search
/
OS/2 Shareware BBS: 10 Tools
/
10-Tools.zip
/
hwi.zip
/
HWIPBK.DAT
/
PBKGETA.SMM
< prev
next >
Wrap
INI File
|
1995-05-10
|
5KB
|
438 lines
[ver]
4
[sty]
_MAKRO.STY
[charset]
82
ANSI (Windows, IBM CP 1252)
[PanoseFontTable]
4
5
Courier
1794
2310
514
517
1028
Tms Rmn
514
774
1284
517
1027
Helv
0
0
0
0
0
Times New Roman
0
0
0
0
0
[revisions]
0
[recfile]
1
1
3
8
0
0
[lang]
7
[desc]
Per DDE aus PAB/2 die Daten der angezeigten Adresse holen.
800171462
15
743875964
189
1
145
1065
4
7
1
[prn]
HP LaserJet Series II
[port]
LPT1.OS2
[fopts]
0
1
0
0
[lnopts]
2
Text
1
[docopts]
5
2
[GramStyle]
[lay]
Standard
516
[rght]
16838
11905
1
720
1077
1
1253
1440
2
1
0
1
0
2
1
720
10465
14
1
720
1
1440
1
2160
1
2880
1
3600
1
4320
1
5040
1
5760
1
6480
1
7200
1
7920
1
8640
1
9360
1
10080
[frght]
[lyfrm]
0
13184
0
15761
11907
16838
0
1
1
0 0 0 0 0 0 0
0
16777215
0
[frmlay]
16838
11907
1
1440
360
1
15941
1440
0
1
0
0
0
0
1
1440
10465
0
[txt]
@Kopfzeile@<:#P29573120,P786432>Anzahl der <\D>nderungen <:X3,0;NumEdits>9<:X~3,0;NumEdits>
@Kopfzeile@<:#P29573120,P786432>Seite <:P11,0,> von <:X3,0;NumPages>1<:X~3,0;NumPages>
>
[hrght]
[lyfrm]
0
11136
0
0
11907
1253
0
1
1
0 0 0 0 0 0 0
0
16777215
0
[frmlay]
1253
11907
1
1440
0
1
360
1440
0
1
0
0
0
0
1
1440
10465
0
[txt]
@Kopfzeile@<:#P29573120,P786432><:X3,0;GetDocInfo$(1)>PBKGETA.SMM<:X~3,0;GetDocInfo$(1)>
@Kopfzeile@<:#P29573120,P786432><:X3,0;Description>Per DDE aus Pbook/2 die Daten der angezeigten Adresse holen.<:X~3,0;Description>
@Kopfzeile@<:#P29573120,P786432>von: JJA
@Kopfzeile@<:#P29573120,P786432><:X3,0;EditDatum %Dd><<EditDatum<;><:X~3,0;EditDatum %Dd> at <:X3,0;EditDatum %T6><<EditDatum<;><:X~3,0;EditDatum %T6>
@Kopfzeile@<:#P29573120,P786432>
>
[elay]
[l1]
0
[edoc]
<:#P31932416,P734003>' function to read all Powerbook/2 address fields in an the global array
<:#P31932416,P734003>' PBKAddress (the alloc and free of the arry are not part of this function)
<:#P31932416,P734003>' the array will be erased and than filled
<:#P31932416,P734003>' the function returns 1 if ok and 0 if failed
<:#P31932416,P734003>
<:#P31932416,P734003>FUNCTION PbookGetAddress()
<:#P31932416,P734003>
<:#P31932416,P734003>DEFINE FALSE 0
<:#P31932416,P734003>DEFINE TRUE 1
<:#P31932416,P734003>
<:#P31932416,P734003>DDEApp = "Pbook"
<:#P31932416,P734003>DDETopic ="GetAddressField"
<:#P31932416,P734003>i = 0
<:#P31932416,P734003>FOR i=1 TO 50
<:#P31932416,P734003> SetGlobalArray("PBKAddress",i,"")
<:#P31932416,P734003>NEXT
<:#P31932416,P734003>
<:#P31932416,P734003>StatusBarMsg("Pbook/2 Adresse holen...")
<:#P31932416,P734003>id = DDEInitiate(DDEApp, DDETopic)
<:#P31932416,P734003>IF id=0
<:#P31932416,P734003> Message("Pbook/2 ist nicht gestartet!")
<:#P31932416,P734003> PbookGetAddress = FALSE
<:#P31932416,P734003> EXIT FUNCTION
<:#P31932416,P734003>ENDIF
<:#P31932416,P734003>
<:#P31932416,P734003>FOR i=1 TO 50
<:#P31932416,P734003> DDEItem = FormatNum$("","",0,i)
<:#P31932416,P734003> StatusBarMsg("PBK/2 Adresse Feld {DDEItem}")
<:#P31932416,P734003> SetGlobalArray("PBKAddress",i,DDEReceive$(id,DDEItem))
<:#P31932416,P734003>NEXT
<:#P31932416,P734003>
<:#P31932416,P734003>DDETerminate(id)
<:#P31932416,P734003>StatusBarMsg("...Pbook/2 Adresse ist angekommen!")
<:#P31932416,P734003>
<:#P31932416,P734003>PbookGetAddress = TRUE
<:#P31932416,P734003>
<:#P31932416,P734003>END FUNCTION
<:#P31932416,P734003>
<:#P31932416,P734003>
<:#P31932416,P734003>FUNCTION PbookAllocPBKAddress()
<:#P31932416,P734003>AllocGlobalVar("PBKAddress",50)
<:#P31932416,P734003>END FUNCTION
<:#P31932416,P734003>
<:#P31932416,P734003>
<:#P31932416,P734003>FUNCTION PbookFreePBKAddress()
<:#P31932416,P734003>FreeGlobalVar("PBKAddress")
<:#P31932416,P734003>END FUNCTION
<:#P31932416,P734003>
>
[Embedded]
00004281
>
[macsum4] 3 57
PbookGetAddress 0 0 6 5
PbookAllocPBKAddress 850 0 1 39
PbookFreePBKAddress 949 0 1 44
[macse]
14 PbookGetAddress
29 0 PbookGetAddress
17 2
17 3
17 5
29 1 DDEApp
7 "Pbook"
8 1
17 6
29 2 DDETopic
7 "GetAddressField"
8 2
17 7
29 3 i
5 0
8 3
5 1
8 3
17 8
5 50
6 3
18 2
12 00000252
10 00000300
5 1
6 3
3 0
8 3
10 00000170
17 9
0 272 "PBKAddress" "{3}" ""
10 00000219
17 12
0 789 "Pbook/2 Adresse holen..."
17 13
29 4 id
0 8 "{1}" "{2}"
13
8 4
17 14
6 4
5 0
18 0
11 00000491
17 15
0 3 "Pbook/2 ist nicht gestartet!"
17 16
5 0
8 0
6 0
15
9
5 1
8 3
17 20
5 50
6 3
18 2
12 00000584
10 00000745
5 1
6 3
3 0
8 3
10 00000501
17 21
29 5 DDEItem
0 19 "" "" 0 "{3}"
13
8 5
17 22
0 789 "PBK/2 Adresse Feld {5}"
17 23
0 10 "{4}" "{5}"
13
0 272 "PBKAddress" "{3}" [X]
10 00000551
17 26
0 9 "{4}"
17 27
0 789 "...Pbook/2 Adresse ist angekommen!"
17 29
5 1
8 0
6 0
15
17 31
9
14 PbookAllocPBKAddress
29 0 PbookAllocPBKAddress
17 1
0 271 "PBKAddress" 50
6 0
15
17 2
9
14 PbookFreePBKAddress
29 0 PbookFreePBKAddress
17 1
0 266 "PBKAddress"
6 0
15
17 2
9
00004306