summaryrefslogtreecommitdiff
path: root/helpcontent2/source/text/sbasic/shared
diff options
context:
space:
mode:
authorFrank Peters <fpe@openoffice.org>2004-08-18 09:59:46 +0000
committerFrank Peters <fpe@openoffice.org>2004-08-18 09:59:46 +0000
commit4f48bcc7937fbc586af7720d4225768ee6913e2a (patch)
tree431c32101c9b8349fe8f420615df796296d69a90 /helpcontent2/source/text/sbasic/shared
#i33146# Initial checkin
Diffstat (limited to 'helpcontent2/source/text/sbasic/shared')
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/00000002.xhp96
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/00000003.xhp287
-rw-r--r--helpcontent2/source/text/sbasic/shared/01/06130000.xhp136
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/01/06130100.xhp80
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/01/06130500.xhp80
-rw-r--r--helpcontent2/source/text/sbasic/shared/01/makefile.mk42
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/01000000.xhp78
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/01010210.xhp87
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/01020000.xhp78
-rw-r--r--helpcontent2/source/text/sbasic/shared/01020100.xhp306
-rw-r--r--helpcontent2/source/text/sbasic/shared/01020200.xhp86
-rw-r--r--helpcontent2/source/text/sbasic/shared/01020300.xhp146
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/01020500.xhp84
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/01030000.xhp78
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/01030100.xhp79
-rw-r--r--helpcontent2/source/text/sbasic/shared/01030200.xhp117
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/01030300.xhp104
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/01030400.xhp228
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/01040000.xhp267
-rw-r--r--helpcontent2/source/text/sbasic/shared/01050000.xhp93
-rw-r--r--helpcontent2/source/text/sbasic/shared/01050100.xhp96
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/01050200.xhp74
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/01050300.xhp84
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/01170100.xhp140
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/01170101.xhp521
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/01170103.xhp102
-rw-r--r--helpcontent2/source/text/sbasic/shared/02/11010000.xhp91
-rw-r--r--helpcontent2/source/text/sbasic/shared/02/11020000.xhp91
-rw-r--r--helpcontent2/source/text/sbasic/shared/02/11030000.xhp91
-rw-r--r--helpcontent2/source/text/sbasic/shared/02/11040000.xhp91
-rw-r--r--helpcontent2/source/text/sbasic/shared/02/11050000.xhp94
-rw-r--r--helpcontent2/source/text/sbasic/shared/02/11060000.xhp94
-rw-r--r--helpcontent2/source/text/sbasic/shared/02/11070000.xhp92
-rw-r--r--helpcontent2/source/text/sbasic/shared/02/11080000.xhp94
-rw-r--r--helpcontent2/source/text/sbasic/shared/02/11090000.xhp111
-rw-r--r--helpcontent2/source/text/sbasic/shared/02/11100000.xhp91
-rw-r--r--helpcontent2/source/text/sbasic/shared/02/11110000.xhp91
-rw-r--r--helpcontent2/source/text/sbasic/shared/02/11120000.xhp91
-rw-r--r--helpcontent2/source/text/sbasic/shared/02/11140000.xhp92
-rw-r--r--helpcontent2/source/text/sbasic/shared/02/11150000.xhp91
-rw-r--r--helpcontent2/source/text/sbasic/shared/02/11160000.xhp91
-rw-r--r--helpcontent2/source/text/sbasic/shared/02/11170000.xhp93
-rw-r--r--helpcontent2/source/text/sbasic/shared/02/20000000.xhp473
-rw-r--r--helpcontent2/source/text/sbasic/shared/02/makefile.mk57
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03000000.xhp86
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03010000.xhp77
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03010100.xhp77
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03010101.xhp108
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03010102.xhp112
-rw-r--r--helpcontent2/source/text/sbasic/shared/03010103.xhp91
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03010200.xhp75
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03010201.xhp92
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03010300.xhp79
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03010301.xhp92
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03010302.xhp91
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03010303.xhp91
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03010304.xhp108
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03010305.xhp93
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03020000.xhp79
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03020100.xhp78
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03020101.xhp104
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03020102.xhp109
-rw-r--r--helpcontent2/source/text/sbasic/shared/03020103.xhp112
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03020104.xhp104
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03020200.xhp81
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03020201.xhp113
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03020202.xhp109
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03020203.xhp106
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03020204.xhp114
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03020205.xhp97
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03020301.xhp110
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03020302.xhp85
-rw-r--r--helpcontent2/source/text/sbasic/shared/03020303.xhp116
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03020304.xhp97
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03020305.xhp83
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03020400.xhp89
-rw-r--r--helpcontent2/source/text/sbasic/shared/03020401.xhp94
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03020402.xhp87
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03020403.xhp100
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03020404.xhp112
-rw-r--r--helpcontent2/source/text/sbasic/shared/03020405.xhp110
-rw-r--r--helpcontent2/source/text/sbasic/shared/03020406.xhp88
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03020407.xhp86
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03020408.xhp87
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03020409.xhp105
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03020410.xhp86
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03020411.xhp130
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03020412.xhp92
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03020413.xhp90
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03020414.xhp102
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03020415.xhp90
-rw-r--r--helpcontent2/source/text/sbasic/shared/03030000.xhp80
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03030100.xhp82
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03030101.xhp98
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03030102.xhp90
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03030103.xhp89
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03030104.xhp90
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03030105.xhp105
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03030106.xhp89
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03030107.xhp86
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03030108.xhp85
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03030200.xhp79
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03030201.xhp89
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03030202.xhp89
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03030203.xhp82
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03030204.xhp89
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03030205.xhp100
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03030206.xhp103
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03030300.xhp78
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03030301.xhp82
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03030302.xhp85
-rw-r--r--helpcontent2/source/text/sbasic/shared/03030303.xhp92
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03050000.xhp79
-rw-r--r--helpcontent2/source/text/sbasic/shared/03050100.xhp97
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03050200.xhp96
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03050300.xhp99
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03050500.xhp109
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03060000.xhp81
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03060100.xhp93
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03060200.xhp93
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03060300.xhp93
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03060400.xhp92
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03060500.xhp92
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03060600.xhp93
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03070000.xhp81
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03070100.xhp92
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03070200.xhp91
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03070300.xhp91
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03070400.xhp92
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03070500.xhp88
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03070600.xhp90
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03080000.xhp82
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03080100.xhp78
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03080101.xhp100
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03080102.xhp99
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03080103.xhp100
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03080104.xhp100
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03080200.xhp76
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03080201.xhp91
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03080202.xhp94
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03080300.xhp76
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03080301.xhp95
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03080302.xhp103
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03080400.xhp75
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03080401.xhp89
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03080500.xhp76
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03080501.xhp88
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03080502.xhp88
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03080600.xhp75
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03080601.xhp91
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03080700.xhp75
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03080701.xhp125
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03080800.xhp76
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03080801.xhp103
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03080802.xhp86
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03090000.xhp79
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03090100.xhp77
-rw-r--r--helpcontent2/source/text/sbasic/shared/03090101.xhp103
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03090102.xhp94
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03090103.xhp81
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03090200.xhp77
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03090201.xhp126
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03090202.xhp127
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03090203.xhp90
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03090300.xhp77
-rw-r--r--helpcontent2/source/text/sbasic/shared/03090301.xhp111
-rw-r--r--helpcontent2/source/text/sbasic/shared/03090302.xhp111
-rw-r--r--helpcontent2/source/text/sbasic/shared/03090303.xhp104
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03090400.xhp86
-rw-r--r--helpcontent2/source/text/sbasic/shared/03090401.xhp92
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03090402.xhp95
-rw-r--r--helpcontent2/source/text/sbasic/shared/03090403.xhp95
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03090404.xhp99
-rw-r--r--helpcontent2/source/text/sbasic/shared/03090405.xhp93
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03090406.xhp113
-rw-r--r--helpcontent2/source/text/sbasic/shared/03090407.xhp89
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03090408.xhp84
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03090409.xhp92
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03090410.xhp95
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03090411.xhp78
-rw-r--r--helpcontent2/source/text/sbasic/shared/03090412.xhp115
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03100000.xhp116
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03100100.xhp96
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03100300.xhp88
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03100400.xhp88
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03100500.xhp89
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03100600.xhp89
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03100700.xhp88
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03100900.xhp89
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03101000.xhp139
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03101100.xhp94
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03101300.xhp94
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03101400.xhp94
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03101500.xhp94
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03101600.xhp94
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03101700.xhp91
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03102000.xhp95
-rw-r--r--helpcontent2/source/text/sbasic/shared/03102100.xhp146
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03102101.xhp127
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03102200.xhp87
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03102300.xhp91
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03102400.xhp88
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03102600.xhp87
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03102700.xhp90
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03102800.xhp82
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03102900.xhp98
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03103000.xhp97
-rw-r--r--helpcontent2/source/text/sbasic/shared/03103100.xhp87
-rw-r--r--helpcontent2/source/text/sbasic/shared/03103200.xhp88
-rw-r--r--helpcontent2/source/text/sbasic/shared/03103300.xhp90
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03103400.xhp84
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03103450.xhp82
-rw-r--r--helpcontent2/source/text/sbasic/shared/03103500.xhp92
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03103600.xhp234
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03103700.xhp86
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03103800.xhp94
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03103900.xhp98
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03104000.xhp83
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03104100.xhp81
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03104200.xhp83
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03104300.xhp84
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03104400.xhp84
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03104500.xhp82
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03104600.xhp87
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03110000.xhp75
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03110100.xhp100
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03120000.xhp79
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03120100.xhp79
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03120101.xhp90
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03120102.xhp89
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03120103.xhp92
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03120104.xhp88
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03120105.xhp82
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03120200.xhp76
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03120201.xhp94
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03120202.xhp98
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03120300.xhp89
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03120301.xhp120
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03120302.xhp90
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03120303.xhp97
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03120304.xhp110
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03120305.xhp97
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03120306.xhp99
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03120307.xhp97
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03120308.xhp112
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03120309.xhp97
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03120310.xhp91
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03120311.xhp99
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03120312.xhp88
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03120313.xhp88
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03120314.xhp120
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03120315.xhp83
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03120400.xhp77
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03120401.xhp97
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03120402.xhp88
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03120403.xhp104
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03130000.xhp91
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03130100.xhp85
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03130500.xhp155
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03130600.xhp89
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03130700.xhp89
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03130800.xhp90
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03131000.xhp85
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03131300.xhp83
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03131400.xhp83
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03131500.xhp80
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03131600.xhp98
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03131700.xhp82
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03131800.xhp85
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03131900.xhp103
-rw-r--r--helpcontent2/source/text/sbasic/shared/03132000.xhp155
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03132100.xhp87
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/03132200.xhp85
-rw-r--r--helpcontent2/source/text/sbasic/shared/03132300.xhp84
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/05060700.xhp463
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/keys.xhp146
-rw-r--r--helpcontent2/source/text/sbasic/shared/main0211.xhp108
-rwxr-xr-xhelpcontent2/source/text/sbasic/shared/main0601.xhp93
-rw-r--r--helpcontent2/source/text/sbasic/shared/makefile.mk296
279 files changed, 28283 insertions, 0 deletions
diff --git a/helpcontent2/source/text/sbasic/shared/00000002.xhp b/helpcontent2/source/text/sbasic/shared/00000002.xhp
new file mode 100755
index 0000000000..dee26e6e58
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/00000002.xhp
@@ -0,0 +1,96 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared00000002xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">$[officename] Basic Glossary</title>
+<filename>/text/sbasic/shared/00000002.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-06-28T09:09:15">converted from old format - fpe
+dedr: fixed #i30799#</lastedited>
+</history>
+</meta>
+<body>
+<paragraph role="heading" id="hd_id3145068" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/00000002.xhp" name="$[officename] Basic Glossary">$[officename] Basic Glossary</link></paragraph>
+<paragraph role="paragraph" id="par_id3150792" xml-lang="en-US" l10n="U" oldref="2">This glossary explains some technical terms that you may come across when working with $[officename] Basic.</paragraph>
+<paragraph role="paragraph" id="par_id3154125" xml-lang="en-US" l10n="U" oldref="4"><link href="text/sbasic/shared/00000002.xhp" name="Decimal Point">Decimal Point</link>, <link href="text/sbasic/shared/00000002.xhp" name=" Colors"> Colors</link>, <link href="text/sbasic/shared/00000002.xhp" name="Measurement Units">Measurement Units</link>, <link href="text/sbasic/shared/00000002.xhp" name="Twips">Twips</link>, <link href="text/sbasic/shared/00000002.xhp" name="URL Notation">URL Notation</link></paragraph>
+<section id="dezimal">
+<paragraph role="heading" id="hd_id3155133" xml-lang="en-US" level="2" l10n="U" oldref="7">Decimal Point</paragraph>
+<paragraph role="paragraph" id="par_id3156443" xml-lang="en-US" l10n="U" oldref="8">When converting numbers, $[officename] Basic uses the locale settings of the system for determining the type of decimal and thousand separator.</paragraph>
+<paragraph role="paragraph" id="par_id3153092" xml-lang="en-US" l10n="U" oldref="9">The behavior has an effect on both the implicit conversion ( 1 + "2.3" = 3.3 ) as well as the runtime function <link href="text/sbasic/shared/03102700.xhp" name="IsNumeric">IsNumeric</link>.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3155854" xml-lang="en-US" level="2" l10n="U" oldref="29">Colors</paragraph>
+<paragraph role="paragraph" id="par_id3145366" xml-lang="en-US" l10n="U" oldref="30">In $[officename] Basic, colors are treated as long integer value. The return value of color queries is also always a long integer value. When defining properties, colors can be specified using their RGB code that is converted to a long integer value using the <link href="text/sbasic/shared/03010305.xhp" name="RGB function">RGB function</link>.</paragraph>
+<paragraph role="heading" id="hd_id3146119" xml-lang="en-US" level="2" l10n="U" oldref="32">Measurement Units</paragraph>
+<paragraph role="paragraph" id="par_id3154013" xml-lang="en-US" l10n="U" oldref="33">In $[officename] Basic, a <emph>method parameter</emph> or <emph>property</emph> a expecting unit information can be specified either as integer or long integer expression without a unit, or as a character string containing a unit. If no unit is passed to the method the default unit defined for the active document type will be used. If the parameter is passed as a character string containing a measurement unit, the default setting will be ignored. The default measurement unit for a document type can be set under <emph>Tools - Options - (Document Type) - General</emph>.</paragraph>
+<section id="twips">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3145801"><bookmark_value>Twips</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3145801" xml-lang="en-US" level="2" oldref="5">Twips</paragraph>
+<paragraph role="paragraph" id="par_id3154731" xml-lang="en-US" l10n="U" oldref="6">A twip is a screen-independent unit which is used to define the uniform position and size of screen elements on all display systems. A twip is 1/1440th of an inch or 1/20 of a printer's point. There are 1440 twips to an inch or about 567 twips to a centimeter.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3153159" xml-lang="en-US" level="2" l10n="U" oldref="106">URL Notation</paragraph>
+<paragraph role="paragraph" id="par_id3153415" xml-lang="en-US" l10n="U" oldref="108">URLs (<emph>Uniform Resource Locators</emph>) are used to determine the location of a resource like a file in a file system, typically inside a network environment. A URL consists of a protocol specifier, a host specifier and a file and path specifier:</paragraph>
+<paragraph role="paragraph" id="par_id3149121" xml-lang="en-US" l10n="U" oldref="107">
+<emph>protocol</emph>://<emph>host.name</emph>/<emph>path/to/the/file.html</emph>
+</paragraph>
+<paragraph role="paragraph" id="par_id3168612" xml-lang="en-US" l10n="U" oldref="109">The most common usage of URLs is on the internet when specifying web pages. Example for protocols are <emph>http</emph>, <emph>ftp</emph>, or <emph>file</emph>. The <emph>file</emph> protocol specifier is used when referring to a file on the local file system.</paragraph>
+<paragraph role="paragraph" id="par_id3150324" xml-lang="en-US" l10n="U" oldref="110">URL notation does not allow certain special characters to be used. These are either replaced by other characters or encoded. A slash (<emph>/</emph>) is used as a path separator. For example, a file referred to as <emph>C:\My File.sxw</emph> on the local host in "Windows notation" becomes <emph>file:///C|/My%20File.sxw</emph> in URL notation.</paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/00000003.xhp b/helpcontent2/source/text/sbasic/shared/00000003.xhp
new file mode 100755
index 0000000000..bd7eb9d642
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/00000003.xhp
@@ -0,0 +1,287 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared00000003xml" indexer="exclude" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Information</title>
+<filename>/text/sbasic/shared/00000003.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <paragraph role="heading" level="1" id="hd_id3148550" l10n="U" xml-lang="en-US" oldref="1">Information</paragraph>
+ <section id="languageformat">
+ <paragraph xml-lang="en-US" oldref="102" l10n="U" role="paragraph" id="par_id3153381">You can set the locale used for controlling the formatting numbers, dates and currencies in $[officename] Basic in <emph>Tools - Options - Language Settings - Languages</emph>. In Basic format codes, the decimal point (<emph>.</emph>) is always used as <emph>placeholder</emph> for the decimal separator defined in your locale and will be replaced by the corresponding character.</paragraph>
+ <paragraph role="paragraph" id="par_id3150870" l10n="U" xml-lang="en-US" oldref="103">The same applies to the locale settings for date, time and currency formats. The Basic format code will be interpreted and displayed according to your locale setting.</paragraph>
+ </section>
+ <section id="farbcodes"><section id="farbcodes">
+ <paragraph role="paragraph" id="par_id3156424" l10n="U" xml-lang="en-US" oldref="2">The color values of the 16 basic colors are as follows:</paragraph>
+ <table id="tbl_id3147434">
+
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph l10n="U" role="paragraph" id="par_id3153091" xml-lang="en-US" oldref="3"><emph>Color Value</emph></paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph l10n="U" role="paragraph" id="par_id3154319" xml-lang="en-US" oldref="4"><emph>Color Name</emph></paragraph>
+ </tablecell>
+ </tablerow>
+
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3151112" l10n="U" xml-lang="en-US" oldref="5">0</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3155854" l10n="U" xml-lang="en-US" oldref="6">Black</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3154942" l10n="U" xml-lang="en-US" oldref="7">128</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3154731" l10n="U" xml-lang="en-US" oldref="8">Blue</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3145645" l10n="U" xml-lang="en-US" oldref="9">32768</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3149400" l10n="U" xml-lang="en-US" oldref="10">Green</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3150753" l10n="U" xml-lang="en-US" oldref="11">32896</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3153765" l10n="U" xml-lang="en-US" oldref="12">Cyan</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3154756" l10n="U" xml-lang="en-US" oldref="13">8388608</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3159266" l10n="U" xml-lang="en-US" oldref="14">Red</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3163807" l10n="U" xml-lang="en-US" oldref="15">8388736</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3145150" l10n="U" xml-lang="en-US" oldref="16">Magenta</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3147002" l10n="U" xml-lang="en-US" oldref="17">8421376</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3152778" l10n="U" xml-lang="en-US" oldref="18">Yellow</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3150088" l10n="U" xml-lang="en-US" oldref="19">8421504</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3159239" l10n="U" xml-lang="en-US" oldref="20">White</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3150206" l10n="U" xml-lang="en-US" oldref="21">12632256</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3149817" l10n="U" xml-lang="en-US" oldref="22">Gray</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3150363" l10n="U" xml-lang="en-US" oldref="23">255</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3154576" l10n="U" xml-lang="en-US" oldref="24">Light blue</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3150367" l10n="U" xml-lang="en-US" oldref="25">65280</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3150202" l10n="U" xml-lang="en-US" oldref="26">Light green</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3154487" l10n="U" xml-lang="en-US" oldref="27">65535</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3151332" l10n="U" xml-lang="en-US" oldref="28">Light cyan</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3148702" l10n="U" xml-lang="en-US" oldref="29">16711680</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3153067" l10n="U" xml-lang="en-US" oldref="30">Light red</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3153912" l10n="U" xml-lang="en-US" oldref="31">16711935</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3159097" l10n="U" xml-lang="en-US" oldref="32">Light magenta</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3155266" l10n="U" xml-lang="en-US" oldref="33">16776960</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3157978" l10n="U" xml-lang="en-US" oldref="34">Light yellow</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3153286" l10n="U" xml-lang="en-US" oldref="35">16777215</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3151302" l10n="U" xml-lang="en-US" oldref="36">Transparent white</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+ </section></section>
+ <paragraph id="hd_id3152869" role="heading" level="3" oldref="37" l10n="U" xml-lang="en-US"><variable id="errorcode">Error Codes</variable></paragraph>
+ <section id="allerrors">
+ <paragraph l10n="U" role="paragraph" id="par_id3155095" xml-lang="en-US" oldref="38"><variable id="err2">2 Unspecified syntax error</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3149126" xml-lang="en-US" oldref="39"><variable id="err3">3 Return without Gosub</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3153976" xml-lang="en-US" oldref="40"><variable id="err4">4 Redo from start </variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150891" xml-lang="en-US" oldref="41"><variable id="err5">5 Invalid procedure call</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3159227" xml-lang="en-US" oldref="42"><variable id="err6">6 Overflow</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3154649" xml-lang="en-US" oldref="43"><variable id="err7">7 Out of memory</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150050" xml-lang="en-US" oldref="44"><variable id="err8">8 Array already dimensioned</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3148900" xml-lang="en-US" oldref="45"><variable id="err9">9 Subscript out of range</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3153806" xml-lang="en-US" oldref="46"><variable id="err10">10 Duplicate definition</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3146963" xml-lang="en-US" oldref="47"><variable id="err11">11 Division by zero</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3153013" xml-lang="en-US" oldref="48"><variable id="err12">12 Variable undefined </variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3155593" xml-lang="en-US" oldref="49"><variable id="err13">13 Type mismatch</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3151197" xml-lang="en-US" oldref="50"><variable id="err14">14 Invalid parameter</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3154710" xml-lang="en-US" oldref="51"><variable id="err18">18 User interrupt occurred</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3147504" xml-lang="en-US" oldref="52"><variable id="err20">20 Resume without error</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3145319" xml-lang="en-US" oldref="53"><variable id="err28">28 Out of stack space</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3146110" xml-lang="en-US" oldref="54"><variable id="err35">35 Sub or Function not defined</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3147246" xml-lang="en-US" oldref="55"><variable id="err48">48 Error in loading DLL</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3146101" xml-lang="en-US" oldref="56"><variable id="err49">49 Bad DLL calling convention</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3153957" xml-lang="en-US" oldref="57"><variable id="err51">51 Internal error</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3154404" xml-lang="en-US" oldref="58"><variable id="err52">52 Bad file name or number</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3151338" xml-lang="en-US" oldref="59"><variable id="err53">53 File not found</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3147298" xml-lang="en-US" oldref="60"><variable id="err54">54 Bad file mode</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3148747" xml-lang="en-US" oldref="61"><variable id="err55">55 File already open</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3145233" xml-lang="en-US" oldref="62"><variable id="err57">57 Device I/O error</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3156399" xml-lang="en-US" oldref="63"><variable id="err58">58 File already exists</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3149324" xml-lang="en-US" oldref="64"><variable id="err59">59 Bad record length</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3147409" xml-lang="en-US" oldref="65"><variable id="err61">61 Disk full</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3149146" xml-lang="en-US" oldref="66"><variable id="err62">62 Input past end of file</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150456" xml-lang="en-US" oldref="67"><variable id="err63">63 Bad record number</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3146883" xml-lang="en-US" oldref="68"><variable id="err67">67 Too many files</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3146818" xml-lang="en-US" oldref="69"><variable id="err68">68 Device not available</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3145225" xml-lang="en-US" oldref="70"><variable id="err70">70 Permission denied</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150372" xml-lang="en-US" oldref="71"><variable id="err71">71 Disk not ready</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3148894" xml-lang="en-US" oldref="72"><variable id="err73">73 Feature not implemented</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3152981" xml-lang="en-US" oldref="73"><variable id="err74">74 No rename with different drive</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3149355" xml-lang="en-US" oldref="74"><variable id="err75">75 Path/file access error</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150477" xml-lang="en-US" oldref="75"><variable id="err76">76 Path not found</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3154678" xml-lang="en-US" oldref="76"><variable id="err91">91 Object variable not set</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3149890" xml-lang="en-US" oldref="77"><variable id="err93">93 Invalid pattern string</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3146942" xml-lang="en-US" oldref="78"><variable id="err94">94 Invalid use of Null</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150028" xml-lang="en-US" oldref="79"><variable id="err323">323 Can't load module</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3148434" xml-lang="en-US" oldref="80"><variable id="err341">341 Invalid object index</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3143219" xml-lang="en-US" oldref="81"><variable id="err366">366 No active view or document</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3144744" xml-lang="en-US" oldref="82"><variable id="err380">380 Bad property value</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3147420" xml-lang="en-US" oldref="83"><variable id="err382">382 Property is read only</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3147472" xml-lang="en-US" oldref="84"><variable id="err394">394 Property is write only</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3148583" xml-lang="en-US" oldref="85"><variable id="err420">420 Invalid object reference</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3153329" xml-lang="en-US" oldref="86"><variable id="err423">423 Property or method not found</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3148738" xml-lang="en-US" oldref="87"><variable id="err424">424 Object required</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3159084" xml-lang="en-US" oldref="88"><variable id="err425">425 Invalid use of object</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3146806" xml-lang="en-US" oldref="89"><variable id="err430">430 Class does not support OLE</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3146130" xml-lang="en-US" oldref="90"><variable id="err438">438 Object doesn't support method</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3154374" xml-lang="en-US" oldref="91"><variable id="err440">440 OLE automation error</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3149685" xml-lang="en-US" oldref="92"><variable id="err445">445 Object doesn't support this action</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150282" xml-lang="en-US" oldref="93"><variable id="err446">446 Object doesn't support named args</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150142" xml-lang="en-US" oldref="94"><variable id="err447">447 Object doesn't support current locale setting</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3152771" xml-lang="en-US" oldref="95"><variable id="err448">448 Named argument not found</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3145145" xml-lang="en-US" oldref="96"><variable id="err449">449 Argument not optional</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3154399" xml-lang="en-US" oldref="97"><variable id="err450">450 Wrong number of arguments</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3146137" xml-lang="en-US" oldref="98"><variable id="err451">451 Object not a collection</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3149507" xml-lang="en-US" oldref="99"><variable id="err452">452 Invalid ordinal</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3154566" xml-lang="en-US" oldref="100"><variable id="err453">453 Specified DLL function not found</variable></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3145595" xml-lang="en-US" oldref="101"><variable id="err460">460 Invalid clipboard format</variable></paragraph>
+ </section>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/01/06130000.xhp b/helpcontent2/source/text/sbasic/shared/01/06130000.xhp
new file mode 100644
index 0000000000..7f445f5e4b
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/01/06130000.xhp
@@ -0,0 +1,136 @@
+<?xml version="1.0" encoding="UTF-8"?><!--*********************************************************************** * * The Contents of this file are made available subject to the terms of * either of the following licenses * * - GNU Lesser General Public License Version 2.1 * - Sun Industry Standards Source License Version 1.1 * * Sun Microsystems Inc., October, 2000 * * GNU Lesser General Public License Version 2.1 * ============================================= * Copyright 2000 by Sun Microsystems, Inc. * 901 San Antonio Road, Palo Alto, CA 94303, USA * * This library is free software; you can redistribute it and/or * modify it under the terms of the GNU Lesser General Public * License version 2.1, as published by the Free Software Foundation. * * This library is distributed in the hope that it will be useful, * but WITHOUT ANY WARRANTY; without even the implied warranty of * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU * Lesser General Public License for more details. * * You should have received a copy of the GNU Lesser General Public * License along with this library; if not, write to the Free Software * Foundation, Inc., 59 Temple Place, Suite 330, Boston, * MA 02111-1307 USA * * * Sun Industry Standards Source License Version 1.1 * ================================================= * The contents of this file are subject to the Sun Industry Standards * Source License Version 1.1 (the "License"); You may not use this file * except in compliance with the License. You may obtain a copy of the * License at http://www.openoffice.org/license.html. * * Software provided under this License is provided on an "AS IS" basis, * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING, * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS, * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING. * See the License for the specific provisions governing your rights and * obligations concerning the Software. * * The Initial Developer of the Original Code is: Sun Microsystems, Inc.. * * Copyright: 2000 by Sun Microsystems, Inc. * * All Rights Reserved. * * Contributor(s): _______________________________________ * * ************************************************************************-->
+<helpdocument version="1.0">
+ <meta>
+ <topic id="textsbasicshared0106130000xml" indexer="include" status="PUBLISH">
+ <title xml-lang="en-US" id="tit">Macro</title>
+ <filename>/text/sbasic/shared/01/06130000.xhp</filename>
+ </topic>
+ <history>
+ <created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+ <lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+ </history>
+ </meta>
+ <body>
+ <bookmark branch="index" xml-lang="en-US" id="bm_id3145786">
+ <bookmark_value>macros; Basic IDE</bookmark_value>
+ <bookmark_value>Basic IDE; macros</bookmark_value>
+ </bookmark>
+ <bookmark branch="hid/.uno:MacroDialog" xml-lang="en-US" id="bm_id3154013"/>
+ <paragraph role="heading" level="1" id="hd_id3145786" l10n="U" xml-lang="en-US" oldref="1">Macro</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3152886" xml-lang="en-US" oldref="2">
+ <variable id="makro">
+ <ahelp visibility="visible" hid=".uno:MacroDialog">Opens the <emph>Macro </emph>dialog, where you can create, edit, organize, and run $[officename] Basic macros.</ahelp>
+ </variable>
+ </paragraph>
+ <bookmark branch="hid/BASCTL_EDIT_RID_MACROCHOOSER_RID_ED_MACRONAME" xml-lang="en-US" id="bm_id3150486"/>
+ <paragraph role="heading" level="2" id="hd_id3154145" l10n="U" xml-lang="en-US" oldref="3">Macro name</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3151116" xml-lang="en-US" oldref="4">
+ <ahelp hid="BASCTL_EDIT_RID_MACROCHOOSER_RID_ED_MACRONAME" visibility="visible">Displays the name of the selected macro. To create or to change the name of a macro, enter a name here.</ahelp>
+ </paragraph>
+ <bookmark branch="hid/HID_BASICIDE_MACROS" xml-lang="en-US" id="bm_id3147428"/>
+ <paragraph l10n="U" role="paragraph" id="par_id3146921" xml-lang="en-US" oldref="6">
+ <ahelp visibility="visible" hid="HID_BASICIDE_MACROS">Lists the macros that are contained in the module selected in the <emph>Macro from </emph>list.</ahelp>
+ </paragraph>
+ <bookmark branch="hid/HID_BASICIDE_LIBS" xml-lang="en-US" id="bm_id3153140"/>
+ <paragraph role="heading" level="2" id="hd_id3153729" l10n="U" xml-lang="en-US" oldref="7">Macro from / Save macro in</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3153190" xml-lang="en-US" oldref="8">
+ <ahelp hid="HID_BASICIDE_LIBS" visibility="visible">Lists the libraries and the modules where you can open or save your macros. To save a macro with a particular document, open the document, and then open this dialog.</ahelp>
+ </paragraph>
+ <bookmark branch="hid/BASCTL_PUSHBUTTON_RID_MACROCHOOSER_RID_PB_RUN" xml-lang="en-US" id="bm_id3153954"/>
+ <paragraph role="heading" level="2" id="hd_id3146975" l10n="U" xml-lang="en-US" oldref="11">Run / Save</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3154791" xml-lang="en-US" oldref="12">
+ <ahelp hid="BASCTL_PUSHBUTTON_RID_MACROCHOOSER_RID_PB_RUN" visibility="visible">Runs or saves the current macro.</ahelp>
+ </paragraph>
+ <bookmark branch="hid/BASCTL_PUSHBUTTON_RID_MACROCHOOSER_RID_PB_ASSIGN" xml-lang="en-US" id="bm_id3154942"/>
+ <paragraph role="heading" level="2" id="hd_id3153158" l10n="U" xml-lang="en-US" oldref="15">Assign</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3149961" xml-lang="en-US" oldref="16">
+ <ahelp hid="BASCTL_PUSHBUTTON_RID_MACROCHOOSER_RID_PB_ASSIGN" visibility="visible">Opens the Customize dialog, where you can assign the selected macro to a menu command, a shortcut key combination, or an event.</ahelp>
+ </paragraph>
+ <bookmark branch="hid/BASCTL_PUSHBUTTON_RID_MACROCHOOSER_RID_PB_EDIT" xml-lang="en-US" id="bm_id3150113"/>
+ <paragraph role="heading" level="2" id="hd_id3145799" l10n="U" xml-lang="en-US" oldref="17">Edit</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3147127" xml-lang="en-US" oldref="18">
+ <ahelp hid="BASCTL_PUSHBUTTON_RID_MACROCHOOSER_RID_PB_EDIT" visibility="visible">Starts the $[officename] Basic editor and opens the selected macro for editing.</ahelp>
+ </paragraph>
+ <bookmark branch="hid/BASCTL_PUSHBUTTON_RID_MACROCHOOSER_RID_PB_DEL" xml-lang="en-US" id="bm_id3151318"/>
+ <paragraph role="heading" level="2" id="hd_id3149400" l10n="U" xml-lang="en-US" oldref="19">New/Delete</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3155602" xml-lang="en-US" oldref="61">
+ <ahelp hid="BASCTL_PUSHBUTTON_RID_MACROCHOOSER_RID_PB_DEL" visibility="visible">Creates a new module or macro, or deletes the selected macro.</ahelp>
+ </paragraph>
+ <paragraph xml-lang="en-US" oldref="20" id="par_id3149124" l10n="U" role="paragraph">To create a new macro, select the &quot;Standard&quot; module in the <emph>Macro from</emph> list, and then click <emph>New</emph>. You can also create a new module, select it in the <emph>Macro from </emph>list, and then click <emph>New</emph>.</paragraph>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3150749" l10n="U" oldref="21">To delete a macro, select it, and then click <emph>Delete</emph>.</paragraph>
+ <bookmark branch="hid/BASCTL_PUSHBUTTON_RID_MACROCHOOSER_RID_PB_ORG" xml-lang="en-US" id="bm_id3155446"/>
+ <paragraph role="heading" level="2" id="hd_id3153764" l10n="U" xml-lang="en-US" oldref="22">Organizer</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3148405" xml-lang="en-US" oldref="23">
+ <ahelp visibility="visible" hid="BASCTL_PUSHBUTTON_RID_MACROCHOOSER_RID_PB_ORG">Opens the <emph>Macro Organizer</emph> dialog, where you can add, edit, or delete existing macro modules, dialogs, and libraries.</ahelp>
+ </paragraph>
+ <paragraph role="heading" level="3" id="hd_id3150043" l10n="U" xml-lang="en-US" oldref="24">Module tab page</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3151248" xml-lang="en-US" oldref="25">
+ <ahelp hid="BASCTL_PUSHBUTTON_RID_MACROCHOOSER_RID_PB_ORG" visibility="visible">Lets you manage dialogs and modules.</ahelp>
+ </paragraph>
+ <paragraph role="heading" level="3" id="hd_id3155936" l10n="U" xml-lang="en-US" oldref="26">Module/Dialog</paragraph>
+ <paragraph xml-lang="en-US" oldref="27" role="paragraph" id="par_id3153963" l10n="U">Click <emph>New Dialog</emph> or <emph>New Module</emph>. You will be asked for a name for the new module or new dialog.</paragraph>
+ <bookmark branch="hid/HID_BASICIDE_MODULES_TREE" xml-lang="en-US" id="bm_id3151188"/>
+ <paragraph role="heading" level="3" id="hd_id3166447" l10n="U" xml-lang="en-US" oldref="29">Module/Dialog</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3155959" xml-lang="en-US" oldref="30">
+ <ahelp hid="HID_BASICIDE_MODULES_TREE" visibility="visible">Lists the existing macros and dialogs for the current application and any open documents.</ahelp>
+ </paragraph>
+ <paragraph role="paragraph" id="par_id3149922" l10n="U" xml-lang="en-US" oldref="31">You can drag-and-drop some macros between the application and any open documents.</paragraph>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3159333" l10n="U" oldref="33">To copy a dialog or a macro, hold down the <switchinline select="sys"> <caseinline select="MAC">Command</caseinline>
+ <defaultinline>Ctrl</defaultinline>
+ </switchinline> key while you drag-and-drop.</paragraph>
+ <bookmark branch="hid/BASCTL_PUSHBUTTON_RID_TP_MODULS_RID_PB_EDIT" xml-lang="en-US" id="bm_id3152775"/>
+ <paragraph role="heading" level="3" id="hd_id3147131" l10n="U" xml-lang="en-US" oldref="34">Edit</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3149816" xml-lang="en-US" oldref="35">
+ <ahelp hid="BASCTL_PUSHBUTTON_RID_TP_MODULS_RID_PB_EDIT" visibility="visible">Opens the selected macro or dialog for editing.</ahelp>
+ </paragraph>
+ <bookmark branch="hid/BASCTL_PUSHBUTTON_RID_TP_MODULS_RID_PB_NEWMOD" xml-lang="en-US" id="bm_id3148421"/>
+ <paragraph role="heading" level="3" id="hd_id3151214" l10n="U" xml-lang="en-US" oldref="36">New Module</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3154202" xml-lang="en-US" oldref="37">
+ <ahelp hid="BASCTL_PUSHBUTTON_RID_TP_MODULS_RID_PB_NEWMOD" visibility="visible">Opens the $[officename] Basic editor and creates a new module.</ahelp>
+ </paragraph>
+ <bookmark branch="hid/BASCTL_PUSHBUTTON_RID_TP_MODULS_RID_PB_NEWDLG" xml-lang="en-US" id="bm_id3154715"/>
+ <paragraph role="heading" level="3" id="hd_id3150364" l10n="U" xml-lang="en-US" oldref="39">New Dialog</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3153269" xml-lang="en-US" oldref="40">
+ <ahelp hid="BASCTL_PUSHBUTTON_RID_TP_MODULS_RID_PB_NEWDLG" visibility="visible">Opens the $[officename] Basic editor and creates a new dialog.</ahelp>
+ </paragraph>
+ <paragraph role="heading" level="3" id="hd_id3154587" l10n="U" xml-lang="en-US" oldref="42">Libraries tab page</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3153705" xml-lang="en-US" oldref="43">
+ <ahelp hid="BASCTL_PUSHBUTTON_RID_TP_MODULS_RID_PB_NEWDLG" visibility="visible">Lets you manage the macro libraries for the current application and any open documents.</ahelp>
+ </paragraph>
+ <bookmark branch="hid/BASCTL_LISTBOX_RID_TP_LIBS_RID_LB_BASICS" xml-lang="en-US" id="bm_id3153782"/>
+ <paragraph role="heading" level="3" id="hd_id3145259" l10n="U" xml-lang="en-US" oldref="44">Application / Document</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3153234" xml-lang="en-US" oldref="45">
+ <ahelp hid="BASCTL_LISTBOX_RID_TP_LIBS_RID_LB_BASICS" visibility="visible">Select the application or the document containing the macro libraries that you want to organize.</ahelp>
+ </paragraph>
+ <bookmark branch="hid/HID_BASICIDE_LIBS_TREE" xml-lang="en-US" id="bm_id3154657"/>
+ <paragraph role="heading" level="3" id="hd_id3148460" l10n="U" xml-lang="en-US" oldref="46">Library</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150828" xml-lang="en-US" oldref="47">
+ <ahelp hid="HID_BASICIDE_LIBS_TREE" visibility="visible">Lists the existing macro libraries for the current application and any open documents.</ahelp>
+ </paragraph>
+ <bookmark branch="hid/BASCTL_PUSHBUTTON_RID_TP_LIBS_RID_PB_EDIT" xml-lang="en-US" id="bm_id3150884"/>
+ <paragraph role="heading" level="3" id="hd_id3145134" l10n="U" xml-lang="en-US" oldref="48">Edit</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150518" xml-lang="en-US" oldref="49">
+ <ahelp hid="BASCTL_PUSHBUTTON_RID_TP_LIBS_RID_PB_EDIT" visibility="visible">Opens the $[officename] Basic editor so that you can modify the selected library.</ahelp>
+ </paragraph>
+ <bookmark branch="hid/BASCTL_PUSHBUTTON_RID_TP_LIBS_RID_PB_PASSWORD" xml-lang="en-US" id="bm_id3145585"/>
+ <paragraph role="heading" level="3" id="hd_id3150371" l10n="U" xml-lang="en-US" oldref="50">Password</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3166430" xml-lang="en-US" oldref="51">
+ <ahelp visibility="visible" hid="BASCTL_PUSHBUTTON_RID_TP_LIBS_RID_PB_PASSWORD">Assigns or edits the <link href="text/sbasic/shared/01/06130100.xhp" name="password">password</link> for the selected library.</ahelp>
+ </paragraph>
+ <bookmark branch="hid/BASCTL_PUSHBUTTON_RID_TP_LIBS_RID_PB_NEWLIB" xml-lang="en-US" id="bm_id3146979"/>
+ <paragraph role="heading" level="3" id="hd_id3154372" l10n="U" xml-lang="en-US" oldref="52">New</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3145387" xml-lang="en-US" oldref="53">
+ <ahelp hid="BASCTL_PUSHBUTTON_RID_TP_LIBS_RID_PB_NEWLIB" visibility="visible">Creates a new library.</ahelp>
+ </paragraph>
+ <bookmark branch="hid/BASCTL_EDIT_RID_DLG_NEWLIB_RID_ED_LIBNAME" xml-lang="en-US" id="bm_id3150522"/>
+ <paragraph role="heading" level="3" id="hd_id3154259" l10n="U" xml-lang="en-US" oldref="56">Name</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3156169" xml-lang="en-US" oldref="57">
+ <ahelp hid="BASCTL_EDIT_RID_DLG_NEWLIB_RID_ED_LIBNAME" visibility="visible">Enter a name for the new library or module.</ahelp>
+ </paragraph>
+ <bookmark branch="hid/BASCTL_PUSHBUTTON_RID_TP_LIBS_RID_PB_APPEND" xml-lang="en-US" id="bm_id3152889"/>
+ <paragraph role="heading" level="3" id="hd_id3151183" l10n="U" xml-lang="en-US" oldref="54">Append</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3155126" xml-lang="en-US" oldref="55">
+ <ahelp hid="BASCTL_PUSHBUTTON_RID_TP_LIBS_RID_PB_APPEND" visibility="visible">Locate that $[officename] Basic library that you want to add to the current list, and then click Open.</ahelp>
+ </paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/01/06130100.xhp b/helpcontent2/source/text/sbasic/shared/01/06130100.xhp
new file mode 100755
index 0000000000..1bfe81fd28
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/01/06130100.xhp
@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared0106130100xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Change Password</title>
+<filename>/text/sbasic/shared/01/06130100.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <bookmark branch="hid/HID_PASSWORD" xml-lang="en-US" id="bm_id3153821"/><paragraph role="heading" level="1" id="hd_id3159399" l10n="U" xml-lang="en-US" oldref="1">Change Password</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150276" xml-lang="en-US" oldref="2"><ahelp hid="HID_PASSWORD" visibility="visible">Protects the selected library with a password.</ahelp> You can enter a new password, or change the current password.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3154285" l10n="U" xml-lang="en-US" oldref="3">Old password</paragraph>
+ <bookmark branch="hid/SVX:EDIT:RID_SVXDLG_PASSWORD:ED_OLD_PASSWD" xml-lang="en-US" id="bm_id3148686"/><paragraph role="heading" level="3" id="hd_id3153665" l10n="U" xml-lang="en-US" oldref="4">Password</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3155628" xml-lang="en-US" oldref="5"><ahelp hid="SVX:EDIT:RID_SVXDLG_PASSWORD:ED_OLD_PASSWD" visibility="visible">Enter the current password for the selected library.</ahelp></paragraph>
+ <paragraph role="heading" level="2" id="hd_id3153126" l10n="U" xml-lang="en-US" oldref="6">New password</paragraph>
+ <bookmark branch="hid/SVX:EDIT:RID_SVXDLG_PASSWORD:ED_NEW_PASSWD" xml-lang="en-US" id="bm_id3151245"/><paragraph role="heading" level="3" id="hd_id3153628" l10n="U" xml-lang="en-US" oldref="7">Password</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3159413" xml-lang="en-US" oldref="8"><ahelp hid="SVX:EDIT:RID_SVXDLG_PASSWORD:ED_NEW_PASSWD" visibility="visible">Enter a new password for the selected library.</ahelp></paragraph>
+ <bookmark branch="hid/SVX:EDIT:RID_SVXDLG_PASSWORD:ED_REPEAT_PASSWD" xml-lang="en-US" id="bm_id3154758"/><paragraph role="heading" level="3" id="hd_id3148947" l10n="U" xml-lang="en-US" oldref="9">Repeat</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3149457" xml-lang="en-US" oldref="10"><ahelp hid="SVX:EDIT:RID_SVXDLG_PASSWORD:ED_REPEAT_PASSWD" visibility="visible">Renter the new password for the selected library.</ahelp></paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/01/06130500.xhp b/helpcontent2/source/text/sbasic/shared/01/06130500.xhp
new file mode 100755
index 0000000000..9d79f768b2
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/01/06130500.xhp
@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared0106130500xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Append libraries</title>
+<filename>/text/sbasic/shared/01/06130500.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+
+ <bookmark branch="index" xml-lang="en-US" id="bm_id3150502"><bookmark_value>libraries; adding</bookmark_value><bookmark_value>Basic libraries; adding</bookmark_value></bookmark><paragraph role="heading" level="1" id="hd_id3150502" l10n="U" xml-lang="en-US" oldref="1">Append libraries</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3154840" xml-lang="en-US" oldref="2"><ahelp visibility="visible" hid="">Locate that <item type="productname">%PRODUCTNAME</item> Basic library that you want to add to the current list, and then click Open.</ahelp></paragraph>
+ <bookmark branch="hid/HID_BASICIDE_LIBSDLG_TREE" xml-lang="en-US" id="bm_id3109850"/><paragraph role="heading" level="2" id="hd_id3149119" l10n="U" xml-lang="en-US" oldref="3">File name:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3147102" xml-lang="en-US" oldref="4"><ahelp hid="HID_BASICIDE_LIBSDLG_TREE" visibility="visible">Enter a name or the path to the library that you want to append.</ahelp> You can also select a library from the list.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3147291" l10n="U" xml-lang="en-US" oldref="5">Options</paragraph>
+ <bookmark branch="hid/BASCTL_CHECKBOX_RID_DLG_LIBS_RID_CB_REF" xml-lang="en-US" id="bm_id3155555"/><paragraph role="heading" level="3" id="hd_id3147226" l10n="U" xml-lang="en-US" oldref="7">Insert as reference (read-only)</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3155892" xml-lang="en-US" oldref="8"><ahelp visibility="visible" hid="BASCTL_CHECKBOX_RID_DLG_LIBS_RID_CB_REF">Adds the selected library as a read-only file. The library is reloaded each time you start <item type="productname">%PRODUCTNAME</item>.</ahelp></paragraph>
+ <bookmark branch="hid/BASCTL_CHECKBOX_RID_DLG_LIBS_RID_CB_REPL" xml-lang="en-US" id="bm_id3153032"/><paragraph role="heading" level="3" id="hd_id3145071" l10n="U" xml-lang="en-US" oldref="9">Replace existing libraries</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3149812" xml-lang="en-US" oldref="10"><ahelp hid="BASCTL_CHECKBOX_RID_DLG_LIBS_RID_CB_REPL" visibility="visible">Replaces a library that has the same name with the current library.</ahelp></paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/01/makefile.mk b/helpcontent2/source/text/sbasic/shared/01/makefile.mk
new file mode 100644
index 0000000000..f15195f690
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/01/makefile.mk
@@ -0,0 +1,42 @@
+#*************************************************************************
+#*
+#* $Workfile:$
+#*
+#* Creation date KR 28.06.99
+#* last change $Author: fpe $ $Date: 2004-08-18 10:53:46 $
+#*
+#* $Revision: 1.1 $
+#*
+#* $Logfile:$
+#*
+#* Copyright 2000 Sun Microsystems, Inc. All Rights Reserved.
+#*
+#*************************************************************************
+
+# edit to match directory level
+PRJ = ..$/..$/..$/..$/..
+# same for all makefiles in "help2"
+PRJNAME = help2
+# edit to match the current package
+PACKAGE = text/sbasic/shared/01
+# uniqe name (module wide);
+# using a modified forme of package should do here
+TARGET = text_sbasic_shared_01
+# edit to match the current module
+MODULE = sbasic
+
+# --- Settings -----------------------------------------------------
+
+.INCLUDE : $(PRJ)$/settings.pmk
+.INCLUDE : settings.mk
+
+# this list matches the *.xml files to process
+HZIPFILES = \
+ 06130000.hzip \
+ 06130100.hzip \
+ 06130500.hzip
+
+# --- Targets ------------------------------------------------------
+
+.INCLUDE : target.mk
+.INCLUDE : $(PRJ)$/makefile.pmk
diff --git a/helpcontent2/source/text/sbasic/shared/01000000.xhp b/helpcontent2/source/text/sbasic/shared/01000000.xhp
new file mode 100755
index 0000000000..3d507d4b40
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/01000000.xhp
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared01000000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Programming with $[officename] Basic </title>
+<filename>/text/sbasic/shared/01000000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="programmieren">
+ <paragraph id="hd_id3156027" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><variable id="doc_title"><link href="text/sbasic/shared/01000000.xhp" name="Programming with $[officename] Basic ">Programming with $[officename] Basic </link></variable></paragraph>
+ <paragraph role="paragraph" id="par_id3153708" l10n="U" xml-lang="en-US" oldref="2">This is where you find general information about working with macros and $[officename] Basic.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/01010210.xhp#modular"/>
+ <embed href="text/sbasic/shared/01020000.xhp#daten"/>
+ <embed href="text/sbasic/shared/01030000.xhp#ide"/>
+ <embed href="text/sbasic/shared/01040000.xhp#weitere"/>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/01010210.xhp b/helpcontent2/source/text/sbasic/shared/01010210.xhp
new file mode 100755
index 0000000000..b56dda8e8a
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/01010210.xhp
@@ -0,0 +1,87 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared01010210xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Basics</title>
+<filename>/text/sbasic/shared/01010210.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="modular">
+ <paragraph id="hd_id3154927" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/01010210.xhp" name="Basics">Basics</link></paragraph>
+ <paragraph role="paragraph" id="par_id3156023" l10n="U" xml-lang="en-US" oldref="14">This section provides the fundamentals for working with $[officename] Basic.</paragraph>
+ </section>
+ <paragraph xml-lang="en-US" oldref="2" l10n="U" role="paragraph" id="par_id3147560">$[officename] Basic code is based on subroutines and functions that are specified between <emph>sub...end sub</emph> and <emph>function...end function</emph> sections. Each Sub or Function can call other Subs and Functions. If you take care to write generic code for a Sub or Function, you can probably re-use it in other programs. See also <link href="text/sbasic/shared/01020300.xhp" name="Procedures and Functions">Procedures and Functions</link>.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3150398" l10n="U" xml-lang="en-US" oldref="3">What is a Sub?</paragraph>
+ <paragraph l10n="U" xml-lang="en-US" role="paragraph" id="par_id3148797" oldref="4"><emph>Sub</emph> is the short form of <emph>subroutine</emph>, that is used to handle a certain task within a program. Subs are used to split a task into individual procedures. Splitting a program into procedures and sub-procedures enhances readability and reduces the error-proneness. A sub possibly takes some arguments as parameters but does not return any values back to the calling sub or function, for example:</paragraph>
+ <paragraph role="paragraph" id="par_id3150868" l10n="U" xml-lang="en-US" oldref="15">DoSomethingWithTheValues(MyFirstValue,MySecondValue)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3156282" l10n="U" xml-lang="en-US" oldref="5">What is a Function?</paragraph>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3156424" l10n="U" oldref="6">A <emph>function</emph> is essentially a sub, which returns a value. You may use a function at the right side of a variable declaration, or at other places where you normally use values, for example:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3146985" xml-lang="en-US" oldref="7"><emph>MySecondValue = myFunction(MyFirstValue)</emph></paragraph>
+ <paragraph role="heading" level="2" id="hd_id3153364" l10n="U" xml-lang="en-US" oldref="8">Global and local variables</paragraph>
+ <paragraph role="paragraph" id="par_id3151112" l10n="U" xml-lang="en-US" oldref="9">Global variables are valid for all subs and functions inside a module. They are declared at the beginning of a module before the first sub or function starts.</paragraph>
+ <paragraph role="paragraph" id="par_id3154012" l10n="U" xml-lang="en-US" oldref="10">Variables that you declare within a sub or function are valid only inside this sub or function. These variables override global variables with the same name and local variables with the same name coming from superordinate subs or functions.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3150010" l10n="U" xml-lang="en-US" oldref="11">Structuring</paragraph>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3153727" l10n="U" oldref="12">After separating your program into procedures and functions (Subs and Functions), you can save these procedures and functions as files for reuse in other projects. $[officename] Basic supports <link href="text/sbasic/shared/01020500.xhp" name="Modules and Libraries">Modules and Libraries</link>. Subs and functions are always contained in modules. You can define modules to be global or part of a document. Multiple modules can be combined to a library.</paragraph>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3152578" l10n="U" oldref="13">You can copy or move subs, functions, modules and libraries from one file to another by using the <link href="text/sbasic/shared/01/06130000.xhp" name="Macro">Macro</link> dialog.</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/01020000.xhp b/helpcontent2/source/text/sbasic/shared/01020000.xhp
new file mode 100755
index 0000000000..8e02ccfb51
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/01020000.xhp
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared01020000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Syntax</title>
+<filename>/text/sbasic/shared/01020000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="daten">
+ <paragraph id="hd_id3148946" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/01020000.xhp" name="Syntax">Syntax</link></paragraph>
+ <paragraph role="paragraph" id="par_id3150793" l10n="U" xml-lang="en-US" oldref="2">This section describes the basic syntax elements of $[officename] Basic. For a detailed description please refer to the $[officename] Basic Guide which is available separately.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/01020100.xhp#variable"/>
+ <embed href="text/sbasic/shared/01020200.xhp#objekte"/>
+ <embed href="text/sbasic/shared/01020300.xhp#prozedur"/>
+ <embed href="text/sbasic/shared/01020500.xhp#biblio"/>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/01020100.xhp b/helpcontent2/source/text/sbasic/shared/01020100.xhp
new file mode 100644
index 0000000000..2b5b311e19
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/01020100.xhp
@@ -0,0 +1,306 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************-->
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared01020100xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Using Variables</title>
+<filename>/text/sbasic/shared/01020100.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="variable">
+ <bookmark branch="index" xml-lang="en-US" id="bm_id3149346"><bookmark_value>names of variables</bookmark_value><bookmark_value>variables;types and names</bookmark_value></bookmark><paragraph id="hd_id3149346" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/01020100.xhp" name="Using Variables">Using Variables</link></paragraph>
+ <paragraph role="paragraph" id="par_id3154346" l10n="U" xml-lang="en-US" oldref="3">The following describes the basic use of variables in $[officename] Basic.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3153361" l10n="U" xml-lang="en-US" oldref="4">Naming Conventions for Variable Identifiers</paragraph>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3148797" l10n="U" oldref="5">A variable name can consist of a maximum of 255 characters. The first character of a variable name <emph>must</emph> be a letter A-Z or a-z. Numbers can also be used in a variable name, but punctuation symbols and special characters are not permitted, with exception of the underscore character ("_"). In $[officename] Basic variable identifiers are not case-sensitive. Variable names may contain spaces but must be enclosed in square brackets if they do.</paragraph>
+ <paragraph role="paragraph" id="par_id3156422" l10n="U" xml-lang="en-US" oldref="6">Examples for variable identifiers:</paragraph>
+ <table id="tbl_id3154685">
+
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3163798" l10n="U" xml-lang="en-US" oldref="7">MyNumber=5</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3156441" l10n="U" xml-lang="en-US" oldref="126">Correct</paragraph>
+ </tablecell>
+ </tablerow>
+
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3147317" l10n="U" xml-lang="en-US" oldref="8">MyNumber5=15</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3149664" l10n="U" xml-lang="en-US" oldref="127">Correct</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3145364" l10n="U" xml-lang="en-US" oldref="9">MyNumber_5=20</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3146119" l10n="U" xml-lang="en-US" oldref="128">Correct</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3154729" l10n="U" xml-lang="en-US" oldref="10">My Number=20</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3153876" l10n="U" xml-lang="en-US" oldref="11">Not valid, variable with space must be enclosed in square brackets</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3147126" l10n="U" xml-lang="en-US" oldref="14">[My Number]=12</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3154510" l10n="U" xml-lang="en-US" oldref="15">Correct</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3153708" l10n="U" xml-lang="en-US" oldref="12">DéjàVu=25</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3150330" l10n="U" xml-lang="en-US" oldref="129">Not valid, special characters are not allowed</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3155443" l10n="U" xml-lang="en-US" oldref="13">5MyNumber=12</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3154254" l10n="U" xml-lang="en-US" oldref="130">Not valid, variable may not begin with a number</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3147345" l10n="U" xml-lang="en-US" oldref="16">Number,Mine=12</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3149256" l10n="U" xml-lang="en-US" oldref="131">Not valid, punctuation marks are not allowed</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+ <paragraph role="heading" level="2" id="hd_id3146317" l10n="U" xml-lang="en-US" oldref="17">Declaring Variables</paragraph>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3150299" l10n="U" oldref="18">In $[officename] Basic you don't need to declare variables explicitly. An variable declaration can be performed with the <emph>Dim</emph> statement. You can declare more than one variable at a time by separating the names with a comma. To define the variable type, use either a type-declaration sign after the name, or the appropriate key word. </paragraph>
+ <paragraph role="paragraph" id="par_id3154118" l10n="U" xml-lang="en-US" oldref="140">Examples for variable declarations:</paragraph>
+ <table id="tbl_id3154658">
+
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3150090" l10n="U" xml-lang="en-US" oldref="19">DIM a$</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3150982" l10n="U" xml-lang="en-US" oldref="132">Declares the variable "a" as a String</paragraph>
+ </tablecell>
+ </tablerow>
+
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3149531" l10n="U" xml-lang="en-US" oldref="20">DIM a As String</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3150343" l10n="U" xml-lang="en-US" oldref="133">Declares the variable "a" as a String</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3149036" l10n="U" xml-lang="en-US" oldref="21">DIM a$, b As Integer</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3155507" l10n="U" xml-lang="en-US" oldref="22">Declares one variable as a String and one as an Integer</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+ <paragraph role="paragraph" id="par_id3150519" l10n="U" xml-lang="en-US" oldref="23">It is very important when declaring variables that you use the type-declaration character each time, even if it was used in the declaration instead of a keyword. Thus the following statements are invalid:</paragraph>
+ <table id="tbl_id3155529">
+
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3152985" l10n="U" xml-lang="en-US" oldref="24">DIM a$</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3154527" l10n="U" xml-lang="en-US" oldref="134">Declares "a" as a String</paragraph>
+ </tablecell>
+ </tablerow>
+
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3148599" l10n="U" xml-lang="en-US" oldref="25">a="TestString"</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3153064" l10n="U" xml-lang="en-US" oldref="135">Type-declaration missing: "a$="</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+ <paragraph role="warning" id="par_id3144770" l10n="U" xml-lang="en-US" oldref="26">Once you have declared a variable as a certain type, you cannot declare the variable under the same name again as a different type!</paragraph>
+ <paragraph role="heading" level="3" id="hd_id3149331" l10n="U" xml-lang="en-US" oldref="27">Forcing Variable Declarations</paragraph>
+ <paragraph role="paragraph" id="par_id3149443" l10n="U" xml-lang="en-US" oldref="28">To force declaration of variables, use the following command:</paragraph>
+ <paragraph role="paragraph" id="par_id3152869" l10n="U" xml-lang="en-US" oldref="29">OPTION EXPLICIT</paragraph>
+ <paragraph xml-lang="en-US" oldref="30" role="paragraph" id="par_id3155072" l10n="U">The <emph>Option Explicit</emph> statement has to be the first line in the module, before the first SUB. Generally, only arrays need to be declared explicitly. All other variables are declared according to the type-declaration character, or - if omitted - as the default type <emph>Single</emph>.</paragraph>
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3154614"><bookmark_value>types of variables</bookmark_value></bookmark><paragraph role="heading" level="2" id="hd_id3154614" l10n="U" xml-lang="en-US" oldref="34">Variable Types</paragraph>
+ <paragraph role="paragraph" id="par_id3155383" l10n="U" xml-lang="en-US" oldref="35">$[officename] Basic supports four variable classes:</paragraph>
+ <list type="unordered">
+ <listitem>
+ <paragraph l10n="U" role="listitem" id="par_id3153972" xml-lang="en-US" oldref="36"><emph>Numeric</emph> variables can contain number values. Some variables are used to store large or small numbers, and others are used for floating-point or fractional numbers. </paragraph>
+ </listitem>
+ <listitem>
+ <paragraph l10n="U" role="listitem" id="par_id3159226" xml-lang="en-US" oldref="37"><emph>String</emph> variables contain character strings.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph l10n="U" role="listitem" id="par_id3145217" xml-lang="en-US" oldref="38"><emph>Boolean</emph> variables contain either the TRUE or the FALSE value.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph l10n="U" role="listitem" id="par_id3154762" xml-lang="en-US" oldref="39"><emph>Object</emph> variables can store objects of various types, like tables and documents within a document.</paragraph>
+ </listitem>
+ </list>
+ <paragraph role="heading" level="3" id="hd_id3153805" l10n="U" xml-lang="en-US" oldref="40">Integer Variables</paragraph>
+ <paragraph role="paragraph" id="par_id3146966" l10n="U" xml-lang="en-US" oldref="41">Integer variables range from -32768 to 32767. If you assign a floating-point value to an integer variable, the decimal places are rounded to the next integer. Integer variables are rapidly calculated in procedures and are suitable for counter variables in loops. An integer variable only requires two bytes of memory. "%" is the type-declaration character.</paragraph>
+ <paragraph role="paragraph" id="par_id3153810" l10n="U" xml-lang="en-US" oldref="43">Dim Variable%</paragraph>
+ <paragraph role="paragraph" id="par_id3153556" l10n="U" xml-lang="en-US" oldref="44">Dim Variable As Integer</paragraph>
+ <paragraph role="heading" level="3" id="hd_id3147546" l10n="U" xml-lang="en-US" oldref="45">Long Integer Variables</paragraph>
+ <paragraph role="paragraph" id="par_id3151193" l10n="U" xml-lang="en-US" oldref="46">Long integer variables range from -2147483648 to 2147483647. If you assign a floating-point value to a long integer variable, the decimal places are rounded to the next integer. Long integer variables are rapidly calculated in procedures and are suitable for counter variables in loops for large values. A long integer variable requires four bytes of memory. "&amp;" is the type-declaration character.</paragraph>
+ <paragraph role="paragraph" id="par_id3154708" l10n="U" xml-lang="en-US" oldref="48">Dim Variable&amp;</paragraph>
+ <paragraph role="paragraph" id="par_id3156365" l10n="U" xml-lang="en-US" oldref="49">Dim Variable as Long</paragraph>
+ <paragraph role="heading" level="3" id="hd_id3147500" l10n="U" xml-lang="en-US" oldref="50">Single Variables</paragraph>
+ <paragraph role="paragraph" id="par_id3153070" l10n="U" xml-lang="en-US" oldref="51">Single variables can take positive or negative values ranging from 3.402823 x 10E38 to 1.401298 x 10E-45. Single variables are floating-point variables, in which the decimal precision decreases as the non-decimal part of the number increases. Single variables are suitable for mathematical calculations of average precision. Calculations require more time than for Integer variables, but are faster than calculations with Double variables. A Single variable requires 4 bytes of memory. The type-declaration character is "!".</paragraph>
+ <paragraph role="paragraph" id="par_id3149875" l10n="U" xml-lang="en-US" oldref="52">Dim Variable!</paragraph>
+ <paragraph role="paragraph" id="par_id3153302" l10n="U" xml-lang="en-US" oldref="53">Dim Variable as Single</paragraph>
+ <paragraph role="heading" level="3" id="hd_id3155753" l10n="U" xml-lang="en-US" oldref="54">Double Variables</paragraph>
+ <paragraph role="paragraph" id="par_id3150953" l10n="U" xml-lang="en-US" oldref="55">Double variables can take positive or negative values ranging from 1.79769313486232 x 10E308 to 4.94065645841247 x 10E-324. Double variables are floating-point variables, in which the decimal precision decreases as the non-decimal part of the number increases. Double variables are suitable for precise calculations. Calculations require more time than for Single variables. A Double variable requires 8 bytes of memory. The type-declaration character is "#".</paragraph>
+ <paragraph role="paragraph" id="par_id3150431" l10n="U" xml-lang="en-US" oldref="56">Dim Variable#</paragraph>
+ <paragraph role="paragraph" id="par_id3154406" l10n="U" xml-lang="en-US" oldref="57">Dim Variable As Double</paragraph>
+ <paragraph role="heading" level="3" id="hd_id3155747" l10n="U" xml-lang="en-US" oldref="95">Currency Variables</paragraph>
+ <paragraph role="paragraph" id="par_id3153337" l10n="U" xml-lang="en-US" oldref="96">Currency variables are internally stored as 64-bit numbers (8 Bytes) and displayed as a fixed-decimal number with 15 non-decimal and 4 decimal places. The values range from -922337203685477.5808 to +922337203685477.5807. Currency variables are used to calculate currency values with a high precision. The type-declaration character is "@".</paragraph>
+ <paragraph role="paragraph" id="par_id3147296" l10n="U" xml-lang="en-US" oldref="97">Dim Variable@</paragraph>
+ <paragraph role="paragraph" id="par_id3150391" l10n="U" xml-lang="en-US" oldref="98">Dim Variable As Currency</paragraph>
+ <paragraph role="heading" level="3" id="hd_id3148742" l10n="U" xml-lang="en-US" oldref="58">String Variables</paragraph>
+ <paragraph role="paragraph" id="par_id3151393" l10n="U" xml-lang="en-US" oldref="59">String variables can hold character strings with up to 65,535 characters. Each character is stored as the corresponding Unicode value. String variables are suitable for word processing within programs and for temporary storage of any non-printable character up to a maximum length of 64 Kbytes. The memory required for storing string variables depends on the number of characters in the variable. The type-declaration character is "$".</paragraph>
+ <paragraph role="paragraph" id="par_id3166467" l10n="U" xml-lang="en-US" oldref="60">Dim Variable$</paragraph>
+ <paragraph role="paragraph" id="par_id3153027" l10n="U" xml-lang="en-US" oldref="61">Dim Variable As String</paragraph>
+ <paragraph role="heading" level="3" id="hd_id3150534" l10n="U" xml-lang="en-US" oldref="62">Boolean Variables</paragraph>
+ <paragraph role="paragraph" id="par_id3145632" l10n="U" xml-lang="en-US" oldref="63">Boolean variables store only one of two values: TRUE or FALSE. Boolean variables are used to store binary values, like the result of a comparison and are represented internally by a 2-byte integer value. Any value assigned to a Boolean is converted to "False" if the value is not exactly equal to "-1". Boolean variables can only be declared by the key words True or False.</paragraph>
+ <paragraph role="paragraph" id="par_id3147615" l10n="U" xml-lang="en-US" oldref="64">Dim Variable As Boolean</paragraph>
+ <paragraph role="heading" level="3" id="hd_id3149722" l10n="U" xml-lang="en-US" oldref="65">Date Variables</paragraph>
+ <paragraph l10n="U" xml-lang="en-US" role="paragraph" id="par_id3159116" oldref="66">Date variables can only contain dates and time values stored in an internal format. Values assigned to Date variables with <emph/><link href="text/sbasic/shared/03030101.xhp" name="Dateserial"><emph>Dateserial</emph><emph/></link>, <emph/><link href="text/sbasic/shared/03030102.xhp" name="Datevalue"><emph>Datevalue</emph><emph/></link>, <emph/><link href="text/sbasic/shared/03030205.xhp" name="Timeserial"><emph>Timeserial</emph><emph/></link> or <emph/><link href="text/sbasic/shared/03030206.xhp" name="Timevalue"><emph>Timevalue</emph><emph/></link> are automatically converted to the internal format. Date-variables are converted to normal numbers by using the <emph/><link href="text/sbasic/shared/03030103.xhp" name="Day"><emph>Day</emph><emph/></link>, <emph/><link href="text/sbasic/shared/03030104.xhp" name="Month"><emph>Month</emph><emph/></link>, <emph/><link href="text/sbasic/shared/03030106.xhp" name="Year"><emph>Year</emph><emph/></link> or the <emph/><link href="text/sbasic/shared/03030201.xhp" name="Hour"><emph>Hour</emph><emph/></link>, <emph/><link href="text/sbasic/shared/03030202.xhp" name="Minute"><emph>Minute</emph><emph/></link>, <emph/><link href="text/sbasic/shared/03030204.xhp" name="Second"><emph>Second</emph><emph/></link> function. The internal format enables a comparison of date/time values by calculating the difference between two numbers. These variables can only be declared with the key word <emph>Date</emph>.</paragraph>
+ <paragraph role="paragraph" id="par_id3150462" l10n="U" xml-lang="en-US" oldref="67">Dim Variable As Date</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3148732" l10n="U" xml-lang="en-US" oldref="68">Initial Variable Values</paragraph>
+ <paragraph role="paragraph" id="par_id3154549" l10n="U" xml-lang="en-US" oldref="69">As soon as the variable has been declared, it is automatically set to the "Null" value. Note the following conventions:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3143222" xml-lang="en-US" oldref="70"><emph>Numeric</emph> variables are automatically assigned the value "0" as soon as they are declared.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150693" xml-lang="en-US" oldref="71"><emph>Date variables</emph> are assigned the value 0 internally; equivalent to converting the value to "0" with the <emph/><link href="text/sbasic/shared/03030103.xhp" name="Day"><emph>Day</emph><emph/></link>, <emph/><link href="text/sbasic/shared/03030104.xhp" name="Month"><emph>Month</emph><emph/></link>, <emph/><link href="text/sbasic/shared/03030106.xhp" name="Year"><emph>Year</emph><emph/></link> or the <emph/><link href="text/sbasic/shared/03030201.xhp" name="Hour"><emph>Hour</emph><emph/></link>, <emph/><link href="text/sbasic/shared/03030202.xhp" name="Minute"><emph>Minute</emph><emph/></link>, <emph/><link href="text/sbasic/shared/03030204.xhp" name="Second"><emph>Second</emph><emph/></link> function.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3154807" xml-lang="en-US" oldref="72"><emph>String variables</emph> are assigned an empty-string ("") when they are declared.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3153936" l10n="U" xml-lang="en-US" oldref="83">Arrays</paragraph>
+ <paragraph role="paragraph" id="par_id3148736" l10n="U" xml-lang="en-US" oldref="84">$[officename] Basic knows one- or multi-dimensional arrays, defined by a specified variable type. Arrays are suitable for editing lists and tables in programs. Individual elements of an array can be addressed through a numeric index.</paragraph>
+ <paragraph xml-lang="en-US" oldref="85" role="paragraph" id="par_id3149546" l10n="U">Arrays <emph>must</emph> be declared with the <emph>Dim</emph> statement. There are several ways to define the index range of an array:</paragraph>
+ <table id="tbl_id3155829">
+
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3150143" l10n="U" xml-lang="en-US" oldref="86">DIM text$(20)</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3154567" l10n="U" xml-lang="en-US" oldref="136">21 elements numbered from 0 to 20</paragraph>
+ </tablecell>
+ </tablerow>
+
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3145596" l10n="U" xml-lang="en-US" oldref="125">DIM text$(5,4)</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3154397" l10n="U" xml-lang="en-US" oldref="137">30 elements (a matrix of 6 x 5 elements)</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3149185" l10n="U" xml-lang="en-US" oldref="87">DIM text$(5 to 25)</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3149690" l10n="U" xml-lang="en-US" oldref="138">21 elements numbered from 5 to 25</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3155950" l10n="U" xml-lang="en-US" oldref="88">DIM text$(-15 to 5)</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3153113" l10n="U" xml-lang="en-US" oldref="89">21 elements (including 0), numbered from -15 to 5</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+ <paragraph role="paragraph" id="par_id3153005" l10n="U" xml-lang="en-US" oldref="90">The index range can include positive as well as negative numbers. The maximum number of elements that can be addressed through an index is 16368.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3154507" l10n="U" xml-lang="en-US" oldref="91">Constants</paragraph>
+ <paragraph role="paragraph" id="par_id3156357" l10n="U" xml-lang="en-US" oldref="92">Constants have a fixed value. They are only defined once in the program and cannot be redefined later:</paragraph>
+ <paragraph role="paragraph" id="par_id3153203" l10n="U" xml-lang="en-US" oldref="93">CONST ConstName=Expression</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/01020200.xhp b/helpcontent2/source/text/sbasic/shared/01020200.xhp
new file mode 100644
index 0000000000..293f8c0d4d
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/01020200.xhp
@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared01020200xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Using Objects</title>
+<filename>/text/sbasic/shared/01020200.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-06-14T15:31:29">FPE: Deleted Screenshot. Cleaned.</lastedited>
+</history>
+</meta>
+<body>
+<section id="objekte">
+<paragraph role="heading" id="hd_id3145645" xml-lang="en-US" level="1" l10n="U" oldref="1"><variable id="01020200"><link href="text/sbasic/shared/01020200.xhp">Using Objects</link>
+</variable></paragraph>
+</section>
+<paragraph role="heading" id="hd_id3155603" xml-lang="en-US" level="2" l10n="U" oldref="75">The Object Catalog</paragraph>
+<section id="object_catalog">
+<paragraph role="paragraph" id="par_id3153707" xml-lang="en-US" l10n="U" oldref="76">The object catalog provides an overview of all modules and dialogs you have created in $[officename].</paragraph>
+<paragraph role="paragraph" id="par_id3147346" xml-lang="en-US" l10n="U" oldref="78">Click the <emph>Object Catalog</emph> icon
+<image id="img_id3147341" src="res/commandimagelist/sc_objectcatalog.png" ><alt id="alt_id3147341" xml-lang="en-US">Icon</alt>
+ </image> in the Macro toolbar to display the object catalog.</paragraph>
+<paragraph role="paragraph" id="par_id3155114" xml-lang="en-US" l10n="U" oldref="79">The dialog shows a list of all existing objects in a hierarchical representation. Double-clicking a list entry opens its subordinate objects.</paragraph>
+<paragraph role="paragraph" id="par_id3150786" xml-lang="en-US" l10n="U" oldref="83">To display a certain module in the Editor or to position the cursor in a selected SUB or FUNCTION, select the corresponding entry and click the <emph>Show</emph> icon
+<image id="img_id3149527" src="basctl/res/im01.png" ><alt id="alt_id3149527" xml-lang="en-US">Icon</alt>
+ </image>.</paragraph>
+<paragraph role="paragraph" id="par_id3153266" xml-lang="en-US" l10n="U" oldref="81">Click the (X) icon in the title bar to close the object catalog.</paragraph>
+</section>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/01020300.xhp b/helpcontent2/source/text/sbasic/shared/01020300.xhp
new file mode 100644
index 0000000000..ceda2e2e5b
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/01020300.xhp
@@ -0,0 +1,146 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared01020300xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Using Procedures and Functions</title>
+<filename>/text/sbasic/shared/01020300.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-06-28T09:07:23">UFI: fixes #i24866#
+YJ: checked
+dedr: fixed #i30798#</lastedited>
+</history>
+</meta>
+<body>
+<section id="prozedur">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149456"><bookmark_value>procedures;using</bookmark_value>
+<bookmark_value>functions;using</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3149456" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/01020300.xhp">Using Procedures and Functions</link></paragraph>
+<paragraph role="paragraph" id="par_id3150767" xml-lang="en-US" l10n="U" oldref="2">The following describes the basic use of procedures and functions in $[officename] Basic.</paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3154124" xml-lang="en-US" l10n="U" oldref="3">Procedures (SUBS) and functions (FUNCTIONS) help you maintaining a structured overview by separating a program into logical pieces.</paragraph>
+<paragraph role="paragraph" id="par_id3153193" xml-lang="en-US" l10n="CHG" oldref="4">One benefit of procedures and functions is that, once you have developed a program code containing task components, you can use this code in another project.</paragraph>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153770"><bookmark_value>variables;passing to procedures and functions</bookmark_value>
+<bookmark_value>parameters;for procedures and functions</bookmark_value>
+<bookmark_value>procedures;parameters</bookmark_value>
+<bookmark_value>functions;parameters</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3153770" xml-lang="en-US" level="2" l10n="U" oldref="26">Passing Variables to Procedures (SUB) and Functions (FUNCTION)</paragraph>
+<paragraph role="paragraph" id="par_id3155414" xml-lang="en-US" l10n="U" oldref="27">Variables can be passed to both procedures and functions. The SUB or FUNCTION must be declared to expect parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3163710" xml-lang="en-US" l10n="U" oldref="28">SUB SubName(<emph>Parameter1 As Type, Parameter2 As Type,...</emph>)</paragraph>
+<paragraph role="paragraph" id="par_id3151114" xml-lang="en-US" l10n="U" oldref="29">Program code</paragraph>
+<paragraph role="paragraph" id="par_id3146975" xml-lang="en-US" l10n="U" oldref="30">END SUB</paragraph>
+<paragraph role="paragraph" id="par_id3152577" xml-lang="en-US" l10n="U" oldref="31">The SUB is called using the following syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3159154" xml-lang="en-US" l10n="U" oldref="32">SubName(Value1, Value2,...)</paragraph>
+<paragraph role="paragraph" id="par_id3147124" xml-lang="en-US" l10n="U" oldref="33">The parameters passed to a SUB must fit to those specified in the SUB declaration.</paragraph>
+<paragraph role="paragraph" id="par_id3147397" xml-lang="en-US" l10n="U" oldref="34">The same process applies to FUNCTIONS. In addition, functions always return a function result. The result of a function is defined by assigning the return value to the function name:</paragraph>
+<paragraph role="paragraph" id="par_id3149412" xml-lang="en-US" l10n="U" oldref="35">FUNCTION FunctionName(Parameter1 As Type, Parameter2 As Type,...) As Type</paragraph>
+<paragraph role="paragraph" id="par_id3156284" xml-lang="en-US" l10n="U" oldref="36">Program code</paragraph>
+<paragraph role="paragraph" id="par_id3145799" xml-lang="en-US" l10n="U" oldref="37">
+<emph>FunctionName=Result</emph>
+</paragraph>
+<paragraph role="paragraph" id="par_id3150716" xml-lang="en-US" l10n="U" oldref="38">End Function</paragraph>
+<paragraph role="paragraph" id="par_id3153839" xml-lang="en-US" l10n="U" oldref="39">The FUNCTION is called using the following syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3146914" xml-lang="en-US" l10n="U" oldref="40">Variable=FunctionName(Parameter1, Parameter2,...)</paragraph>
+<paragraph role="tip" id="par_idN107B3" xml-lang="en-US">You can also use the fully qualified name to call a procedure or function:<br/>
+<item type="literal">Library.Module.Macro()</item>
+<br/> For example, to call the Autotext macro from the Gimmicks library, use the following command:<br/>
+<item type="literal">Gimmicks.AutoText.Main()</item>
+</paragraph>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3156276"><bookmark_value>parameters;pass by reference</bookmark_value>
+<bookmark_value>parameters;pass by value</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3156276" xml-lang="en-US" level="2" l10n="U" oldref="45">Passing Variables by Value or Reference</paragraph>
+<paragraph role="paragraph" id="par_id3155765" xml-lang="en-US" l10n="U" oldref="47">Parameters can be passed to a SUB or a FUNCTION either by reference or by value. Unless otherwise specified, a parameter is always passed by reference. That means that a SUB or a FUNCTION gets the parameter and can read and modify its value.</paragraph>
+<paragraph role="paragraph" id="par_id3145640" xml-lang="en-US" l10n="U" oldref="53">If you want to pass a parameter by value insert the key word "ByVal" in front of the parameter when you call a SUB or FUNCTION, for example:</paragraph>
+<paragraph role="paragraph" id="par_id3150042" xml-lang="en-US" l10n="U" oldref="54">Result = Function(<emph>ByVal</emph> Parameter)</paragraph>
+<paragraph role="paragraph" id="par_id3149258" xml-lang="en-US" l10n="U" oldref="55">In this case, the original content of the parameter will not be modified by the FUNCTION since it only gets the value and not the parameter itself.</paragraph>
+<paragraph role="note" id="par_id3151215" xml-lang="en-US" l10n="U" oldref="56">When you create a new module, $[officename] Basic automatically inserts a SUB called "Main". This default name has nothing to do with the order or the starting point of a $[officename] Basic project. You can also safely rename this SUB.</paragraph>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150982"><bookmark_value>variables;scope</bookmark_value>
+<bookmark_value>scope;variables</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3150982" xml-lang="en-US" level="2" l10n="U" oldref="57">Scope of Variables</paragraph>
+<paragraph role="paragraph" id="par_id3149814" xml-lang="en-US" l10n="U" oldref="58">A variable defined within a SUB or FUNCTION, only remains valid until the procedure is exited. This is known as a "local" variable. In many cases, you need a variable to be valid in all procedures, in every module of all libraries, or after a SUB or FUNCTION is exited. This property is controlled in a variable declaration through key words in the <emph>Dim</emph> statement.</paragraph>
+<paragraph role="heading" id="hd_id3154186" xml-lang="en-US" level="3" l10n="U" oldref="59">Declaring Variables Outside a SUB or FUNCTION</paragraph>
+<bookmark xml-lang="en-US" branch="index" id="bm_id2809017"><bookmark_value>GLOBAL</bookmark_value>
+</bookmark>
+<paragraph role="paragraph" id="par_id3150208" xml-lang="en-US" l10n="U" oldref="111">DIM GLOBAL VarName As TYPENAME</paragraph>
+<paragraph role="paragraph" id="par_id3145258" xml-lang="en-US" l10n="U" oldref="112">The variable is valid as long as the $[officename] session lasts.</paragraph>
+<bookmark xml-lang="en-US" branch="index" id="bm_id2821445"><bookmark_value>PUBLIC</bookmark_value>
+</bookmark>
+<paragraph role="paragraph" id="par_id3153198" xml-lang="en-US" l10n="U" oldref="60">DIM PUBLIC VarName As TYPENAME</paragraph>
+<paragraph role="paragraph" id="par_id3150088" xml-lang="en-US" l10n="U" oldref="61">The variable is valid in all modules.</paragraph>
+<bookmark xml-lang="en-US" branch="index" id="bm_id2814625"><bookmark_value>PRIVATE</bookmark_value>
+</bookmark>
+<paragraph role="paragraph" id="par_id3158212" xml-lang="en-US" l10n="U" oldref="62">DIM PRIVATE VarName As TYPENAME</paragraph>
+<paragraph role="paragraph" id="par_id3152994" xml-lang="en-US" l10n="U" oldref="63">The variable is only valid in this module.</paragraph>
+<paragraph role="paragraph" id="par_id3150886" xml-lang="en-US" l10n="U" oldref="64">DIM VarName As TYPENAME</paragraph>
+<paragraph role="paragraph" id="par_id3150368" xml-lang="en-US" l10n="U" oldref="65">The variable is only valid in this module.</paragraph>
+<paragraph role="heading" id="hd_id3154368" xml-lang="en-US" level="3" l10n="U" oldref="66">Saving Variable Content after Exiting a SUB or FUNCTION</paragraph>
+<paragraph role="paragraph" id="par_id3156288" xml-lang="en-US" l10n="U" oldref="67">DIM STATIC VarName As TYPENAME</paragraph>
+<paragraph role="paragraph" id="par_id3154486" xml-lang="en-US" l10n="U" oldref="68">The variable retains its value until the next time the FUNCTION or SUB is entered. The declaration must exist inside a SUB or a FUNCTION.</paragraph>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3155809"><bookmark_value>functions;return value type</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3155809" xml-lang="en-US" level="2" l10n="U" oldref="41">Specifying the Return Value Type of a FUNCTION</paragraph>
+<paragraph role="paragraph" id="par_id3149404" xml-lang="en-US" l10n="U" oldref="42">As with variables, include a type-declaration character after the function name, or the type indicated by "As" and the corresponding key word at the end of the parameter list to define the type of the function's return value, for example:</paragraph>
+<paragraph role="paragraph" id="par_id3152899" xml-lang="en-US" l10n="U" oldref="43">Function WordCount(WordText as String) <emph>as Integer</emph>
+</paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/01020500.xhp b/helpcontent2/source/text/sbasic/shared/01020500.xhp
new file mode 100755
index 0000000000..81951913b2
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/01020500.xhp
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared01020500xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Libraries, Modules and Dialogs</title>
+<filename>/text/sbasic/shared/01020500.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-08-16T15:35:03">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="biblio">
+<paragraph role="heading" id="hd_id3147317" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/01020500.xhp" name="Libraries, Modules and Dialogs">Libraries, Modules and Dialogs</link></paragraph>
+<paragraph role="paragraph" id="par_id3147427" xml-lang="en-US" l10n="U" oldref="2">The following describes the basic use of libraries, modules and dialogs in $[officename] Basic.</paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3146120" xml-lang="en-US" l10n="U" oldref="3">$[officename] Basic provides tools to help you structuring your projects. It supports various "units" which enable you to group individual SUBS and FUNCTIONS in a Basic project.</paragraph>
+<paragraph role="heading" id="hd_id3148575" xml-lang="en-US" level="2" l10n="U" oldref="5">Libraries</paragraph>
+<paragraph role="paragraph" id="par_id3150011" xml-lang="en-US" l10n="U" oldref="6">Libraries serve as a tool for organizing modules, and can either be attached to a document or a template. When the document or a template is saved, all modules contained in the library are automatically saved as well.</paragraph>
+<paragraph role="paragraph" id="par_id3151112" xml-lang="en-US" l10n="U" oldref="7">A library can contain up to 16,000 modules.</paragraph>
+<paragraph role="heading" id="hd_id3149262" xml-lang="en-US" level="2" l10n="U" oldref="8">Modules</paragraph>
+<paragraph role="paragraph" id="par_id3156441" xml-lang="en-US" l10n="U" oldref="9">A module contains SUBS and FUNCTIONS along with variable declarations. The length of the program that can be saved in a module is limited to 64 KB. If more space is required you can divide a $[officename] Basic project among several modules, and then save them in a single library.</paragraph>
+<paragraph role="heading" id="hd_id3152577" xml-lang="en-US" level="2" l10n="U" oldref="11">Dialog Modules</paragraph>
+<paragraph role="paragraph" id="par_id3149377" xml-lang="en-US" l10n="U" oldref="12">Dialog modules contain dialog definitions, including the dialog box properties, the properties of each dialog element and the events assigned. Since a dialog module can only contain a single dialog, they are often referred to as "dialogs".</paragraph>
+<embed href="text/shared/00/00000004.xhp#related"/>
+<embed href="text/sbasic/shared/01030400.xhp#01030400"/>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/01030000.xhp b/helpcontent2/source/text/sbasic/shared/01030000.xhp
new file mode 100755
index 0000000000..18c0e7d24c
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/01030000.xhp
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared01030000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Integrated Development Environment (IDE)</title>
+<filename>/text/sbasic/shared/01030000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="ide">
+ <bookmark branch="index" xml-lang="en-US" id="bm_id3145090"><bookmark_value>Basic IDE;Integrated Development Environment</bookmark_value><bookmark_value>IDE;Basic IDE</bookmark_value></bookmark><paragraph id="hd_id3145090" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/01030000.xhp" name="Integrated Development Environment (IDE)">Integrated Development Environment (IDE)</link></paragraph>
+ <paragraph role="paragraph" id="par_id3146795" l10n="U" xml-lang="en-US" oldref="2">This section describes the Integrated Development Environment for $[officename] Basic.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/01030100.xhp#ueberblick"/>
+ <embed href="text/sbasic/shared/01030400.xhp#anlegenverwalten"/>
+ <embed href="text/sbasic/shared/01030200.xhp#basiceditor"/>
+ <embed href="text/sbasic/shared/01030300.xhp#basicfehler"/>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/01030100.xhp b/helpcontent2/source/text/sbasic/shared/01030100.xhp
new file mode 100755
index 0000000000..8bf732f6b5
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/01030100.xhp
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared01030100xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">IDE Overview</title>
+<filename>/text/sbasic/shared/01030100.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <bookmark branch="hid/HID_BASICIDE_MODULWINDOW" xml-lang="en-US" id="bm_id3093440"/><section id="ueberblick">
+ <paragraph id="hd_id3147291" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/01030100.xhp" name="IDE Overview">IDE Overview</link></paragraph>
+ </section>
+ <paragraph l10n="U" xml-lang="en-US" role="paragraph" id="par_id3156344" oldref="3">The <emph/><link href="text/sbasic/shared/main0211.xhp" name="Macro Toolbar"><emph>Macro Toolbar</emph><emph/></link> in the IDE provides various icons for editing and testing programs.</paragraph>
+ <paragraph l10n="U" xml-lang="en-US" role="paragraph" id="par_id3151210" oldref="4">In the <emph/><link href="text/sbasic/shared/01030200.xhp" name="Editor window"><emph>Editor window</emph><emph/></link>, directly below the Macro toolbar, you can edit the Basic program code. The column on the left side is used to set breakpoints in the program code.</paragraph>
+ <paragraph l10n="U" xml-lang="en-US" role="paragraph" id="par_id3154686" oldref="5">The <emph/><link href="text/sbasic/shared/01050100.xhp" name="Watch"><emph>Watch</emph><emph/></link> (observer) is located below the Editor window at the left, and displays the contents of variables or arrays during a single step process.</paragraph>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3145787" l10n="U" oldref="8">The <emph>Call Stack</emph> window to the right provides information about the call stack of SUBS and FUNCTIONS when a program runs.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3147318" xml-lang="en-US" oldref="7"><emph>Related Topics</emph></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3147434" xml-lang="en-US" oldref="6"><link href="text/sbasic/shared/01050000.xhp" name="Basic IDE">Basic IDE</link></paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/01030200.xhp b/helpcontent2/source/text/sbasic/shared/01030200.xhp
new file mode 100644
index 0000000000..410ccd3c01
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/01030200.xhp
@@ -0,0 +1,117 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************-->
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared01030200xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">The Basic Editor</title>
+<filename>/text/sbasic/shared/01030200.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="basiceditor">
+ <paragraph id="hd_id3147264" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/01030200.xhp" name="The Basic Editor">The Basic Editor</link></paragraph>
+ </section>
+ <paragraph xml-lang="en-US" oldref="3" role="paragraph" id="par_id3145069" l10n="U">The Basic Editor provides the standard editing functions you are familiar with when working in a text document. It supports the functions of the <emph>Edit</emph> menu (Cut, Delete, Paste), the ability to select text with the Shift key, as well as cursor positioning functions (for example, moving from word to word with <switchinline select="sys"> <caseinline select="MAC">Option</caseinline> <defaultinline>Ctrl</defaultinline> </switchinline> and the arrow keys).</paragraph>
+ <paragraph role="paragraph" id="par_id3154686" l10n="U" xml-lang="en-US" oldref="31">Long lines can be split into several parts by inserting an underline character _ as the last character of a line. This connects the line with the following line to one logical line.</paragraph>
+ <paragraph xml-lang="en-US" oldref="32" role="paragraph" id="par_id3151042" l10n="U">If you press the <emph>Run</emph> icon in the Object bar, program execution starts at the first line of the Basic editor. The "Sub Main" does <emph>not</emph> take precedence on program execution.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3125863" l10n="U" xml-lang="en-US" oldref="4">Navigating in a Project</paragraph>
+ <paragraph role="heading" level="3" id="hd_id3145785" l10n="U" xml-lang="en-US" oldref="6">The Library List</paragraph>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3146120" l10n="U" oldref="7">Select a library from the <emph>Library</emph> list at the left of the toolbar to load the library in the editor. The first module of the selected library will be displayed.</paragraph>
+ <paragraph role="heading" level="3" id="hd_id3153190" l10n="U" xml-lang="en-US" oldref="8">The Object Catalog</paragraph>
+ <embed href="text/sbasic/shared/01020200.xhp#object_catalog"/>
+ <bookmark branch="index" xml-lang="en-US" id="bm_id3148647"><bookmark_value>saving;Basic code</bookmark_value><bookmark_value>Basic code;loading and saving</bookmark_value><bookmark_value>loading;Basic code</bookmark_value></bookmark><paragraph role="heading" level="2" id="hd_id3148647" l10n="U" xml-lang="en-US" oldref="15">Saving and Loading Basic Source Code</paragraph>
+ <paragraph role="paragraph" id="par_id3154320" l10n="U" xml-lang="en-US" oldref="16">You can save Basic code in a text file for saving and importing in other programming systems.</paragraph>
+ <paragraph role="warning" id="par_id3149959" l10n="U" xml-lang="en-US" oldref="25">You cannot save Basic dialogs to a text file.</paragraph>
+ <paragraph role="heading" level="3" id="hd_id3149403" l10n="U" xml-lang="en-US" oldref="17">Saving Source Code to a Text File</paragraph>
+ <list type="ordered">
+ <listitem>
+ <paragraph role="listitem" id="par_id3150327" l10n="U" xml-lang="en-US" oldref="18">Select the module that you want to export as text from the object catalog.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph xml-lang="en-US" role="listitem" id="par_id3150752" l10n="U" oldref="19">Click the <emph>Save Source As</emph> icon in the Macro toolbar.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph xml-lang="en-US" role="listitem" id="par_id3154754" l10n="U" oldref="20">Select a file name and click <emph>OK</emph> to save the file.</paragraph>
+ </listitem>
+ </list>
+ <paragraph role="heading" level="3" id="hd_id3159264" l10n="U" xml-lang="en-US" oldref="21">Loading Source Code From a Text File</paragraph>
+ <list type="ordered">
+ <listitem>
+ <paragraph role="listitem" id="par_id3147343" l10n="U" xml-lang="en-US" oldref="22">Select the module where you want to import the source code from the object catalog.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph role="listitem" id="par_id3145230" l10n="U" xml-lang="en-US" oldref="23">Position the cursor where you want to insert the program code.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph xml-lang="en-US" role="listitem" id="par_id3149565" l10n="U" oldref="24">Click the <emph>Insert Source Text</emph> icon in the Macro toolbar.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph xml-lang="en-US" role="listitem" id="par_id3154020" l10n="U" oldref="33">Select the text file containing the source code and click <emph>OK</emph>.</paragraph>
+ </listitem>
+ </list>
+ <paragraph l10n="U" role="paragraph" id="par_id3158212" xml-lang="en-US" oldref="30"><emph>Related Topics</emph></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3153198" xml-lang="en-US" oldref="29"><link href="text/sbasic/shared/01050000.xhp" name="Basic IDE">Basic IDE</link></paragraph>
+ <embed href="text/sbasic/shared/01020200.xhp#01020200"/>
+
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/01030300.xhp b/helpcontent2/source/text/sbasic/shared/01030300.xhp
new file mode 100755
index 0000000000..52510cde56
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/01030300.xhp
@@ -0,0 +1,104 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared01030300xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Debugging a Basic Program</title>
+<filename>/text/sbasic/shared/01030300.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-06-14T15:32:26">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="basicfehler">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153344"><bookmark_value>debugging; Basic</bookmark_value>
+<bookmark_value>Basic; debugging</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3153344" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/01030300.xhp">Debugging a Basic Program</link></paragraph>
+</section>
+<paragraph role="heading" id="hd_id3159224" xml-lang="en-US" level="2" l10n="U" oldref="4">Breakpoints and Single Step Execution</paragraph>
+<paragraph role="paragraph" id="par_id3150682" xml-lang="en-US" l10n="U" oldref="5">You can check each line in your Basic program for errors using single step execution. Errors are easily traced since you can immediately see the result of each step. A pointer in the breakpoint column of the Editor indicates the current line. You can also set a breakpoint if you want to force the program to be interrupted at a specific position.</paragraph>
+<paragraph role="paragraph" id="par_id3147303" xml-lang="en-US" l10n="U" oldref="7">Double-click in the <emph>breakpoint</emph> column at the left of the Editor window to toggle a breakpoint at the corresponding line. When the program reaches a breakpoint, the program execution is interrupted.</paragraph>
+<paragraph role="paragraph" id="par_id3155805" xml-lang="en-US" l10n="U" oldref="8">The <emph>single step </emph>execution using the <emph>Single Step</emph> icon causes the program to branch into procedures and functions.</paragraph>
+<paragraph role="paragraph" id="par_id3151110" xml-lang="en-US" l10n="U" oldref="25">The procedure step execution using the <emph>Procedure Step</emph> icon causes the program to skip over procedures and functions as a single step.</paragraph>
+<paragraph role="heading" id="hd_id3153825" xml-lang="en-US" level="3" l10n="U" oldref="9">Properties of a Breakpoint</paragraph>
+<paragraph role="paragraph" id="par_id3147574" xml-lang="en-US" l10n="U" oldref="26">The properties of a breakpoint are available through its context menu by right-clicking the breakpoint in the breakpoint column.</paragraph>
+<paragraph role="paragraph" id="par_id3148473" xml-lang="en-US" l10n="U" oldref="10">You can <emph>activate</emph> and <emph>deactivate</emph> a breakpoint by selecting <emph>Active</emph> from its context menu. When a breakpoint is deactivated, it does not interrupt the program execution. </paragraph>
+<paragraph role="paragraph" id="par_id3159413" xml-lang="en-US" l10n="U" oldref="27">Select <emph>Properties</emph> from the context menu of a breakpoint or select <emph>Breakpoints</emph> from the context menu of the breakpoint column to call the <emph>Breakpoints</emph> dialog where you can specify other breakpoint options.</paragraph>
+<paragraph role="paragraph" id="par_id3156280" xml-lang="en-US" l10n="U" oldref="11">The list displays all <emph>breakpoints</emph> with the corresponding line number in the source code. You can activate or deactivate a selected breakpoint by checking or clearing the <emph>Active</emph> box.</paragraph>
+<paragraph role="paragraph" id="par_id3158407" xml-lang="en-US" l10n="U" oldref="12">The <emph>Pass Count</emph> specifies the number of times the breakpoint can be passed over before the program is interrupted. If you enter 0 (default setting) the program is always interrupted as soon as a breakpoint is encountered.</paragraph>
+<paragraph role="paragraph" id="par_id3153968" xml-lang="en-US" l10n="U" oldref="13">Click <emph>Delete</emph> to remove the breakpoint from the program.</paragraph>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150439"><bookmark_value>variables; observing values</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3150439" xml-lang="en-US" level="2" l10n="U" oldref="14">Observing the Value of Variables</paragraph>
+<paragraph role="paragraph" id="par_id3153368" xml-lang="en-US" l10n="U" oldref="15">You can monitor the values of a variable by adding it to the <emph>Watch</emph> window. To add a variable to the list of watched variables, type the variable name in the <emph>Watch</emph> text box and press Enter.</paragraph>
+<paragraph role="paragraph" id="par_id3146986" xml-lang="en-US" l10n="U" oldref="16">The values of variables are only displayed if they are in scope. Variables that are not defined at the current source code location display ("Out of Scope") instead of a value.</paragraph>
+<paragraph role="paragraph" id="par_id3145272" xml-lang="en-US" l10n="U" oldref="17">You can also include arrays in the Watch window. If you enter the name of an array variable without an index value in the Watch text box, the content of the entire array is displayed.</paragraph>
+<paragraph role="tip" id="par_id3145749" xml-lang="en-US" l10n="U" oldref="19">If you rest the mouse over a predefined variable in the Editor at run-time, the content of the variable is displayed in a pop-up box.</paragraph>
+<bookmark xml-lang="en-US" branch="hid/HID_BASICIDE_STACKWINDOW_LIST" id="bm_id3156286" localize="false"/>
+<paragraph role="heading" id="hd_id3148618" xml-lang="en-US" level="2" l10n="U" oldref="20">The Call Stack Window</paragraph>
+<paragraph role="paragraph" id="par_id3154491" xml-lang="en-US" l10n="U" oldref="21"><ahelp hid="HID_BASICIDE_STACKWINDOW_LIST">Provides an overview of the call hierarchy of procedures and functions.</ahelp> You can determine which procedures and functions called which other procedures and functions at the current point in the source code.</paragraph>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150594"><bookmark_value>run-time errors; Basic</bookmark_value>
+<bookmark_value>error codes; Basic</bookmark_value>
+<bookmark_value>Basic; error codes</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3150594" xml-lang="en-US" level="2" l10n="U" oldref="24">Run-Time Error</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#allerrors"/>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/01030400.xhp b/helpcontent2/source/text/sbasic/shared/01030400.xhp
new file mode 100755
index 0000000000..bf568e80b5
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/01030400.xhp
@@ -0,0 +1,228 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared01030400xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Organizing Libraries and Modules</title>
+<filename>/text/sbasic/shared/01030400.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-05-12T14:11:42">FPE: Repaired empty link</lastedited>
+</history>
+</meta>
+<body>
+<section id="anlegenverwalten">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3148797"><bookmark_value>libraries;organizing</bookmark_value>
+<bookmark_value>modules;organizing</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3148797" xml-lang="en-US" level="1" l10n="U" oldref="1">
+<variable id="01030400"><link href="text/sbasic/shared/01030400.xhp">Organizing Libraries and Modules</link>
+</variable></paragraph>
+</section>
+<paragraph role="heading" id="hd_id3150868" xml-lang="en-US" level="2" l10n="U" oldref="4">Organizing Libraries</paragraph>
+<paragraph role="heading" id="hd_id3125864" xml-lang="en-US" level="3" l10n="U" oldref="5">Creating a New Library</paragraph>
+<list type="ordered">
+<listitem>
+<paragraph role="listitem" id="par_id3152576" xml-lang="en-US" l10n="U" oldref="6">Choose <emph>Tools - Macros - Macro</emph> and click <emph>Organizer</emph> or click the <emph>Modules</emph> icon in the Basic IDE to open the <emph>Macro Organizer</emph> dialog.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3153726" xml-lang="en-US" l10n="U" oldref="8">Click the <emph>Libraries</emph> tab.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3149664" xml-lang="en-US" l10n="U" oldref="9">Select the object to which you want to attach the library from the <emph>Application/Document</emph> list. If you select <emph>soffice</emph> the library will belong to the $[officename] application and will be available for all documents. If you select a document the library will be attached to this document and only available from there.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3153365" xml-lang="en-US" l10n="U" oldref="10">Click <emph>New</emph> and insert a name to create a new library.</paragraph>
+</listitem>
+</list>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3147394"><bookmark_value>libraries;appending</bookmark_value>
+<bookmark_value>libraries;adding</bookmark_value>
+<bookmark_value>adding;libraries</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3147394" xml-lang="en-US" level="3" l10n="U" oldref="48">Appending a Library</paragraph>
+<list type="ordered">
+<listitem>
+<paragraph role="listitem" id="par_id3153157" xml-lang="en-US" l10n="U" oldref="49">Choose <emph>Tools - Macros - Macro</emph> and click <emph>Organizer</emph> or click the <emph>Modules</emph> icon in the Basic IDE to open the <emph>Macro Organizer</emph> dialog.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3146972" xml-lang="en-US" l10n="U" oldref="50">Click the <emph>Libraries</emph> tab.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3145640" xml-lang="en-US" l10n="U" oldref="51">Select the object to which you want to attach the library from the <emph>Application/Document</emph> list. If you select <emph>soffice</emph> the library will belong to the $[officename] application and will be available for all documents. If you select a document the library will be attached to this document and only available from there.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3154253" xml-lang="en-US" l10n="U" oldref="52">Click <emph>Append</emph> and select an external library to append.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3154705" xml-lang="en-US" l10n="U" oldref="53">Select all libraries to be appended in the <emph>Append Libraries</emph> dialog. The dialog displays all libraries that are contained in the selected file.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3163807" xml-lang="en-US" l10n="U" oldref="54">If you want to insert the library as a reference only check the <emph>Insert as reference (read-only)</emph> box. Read-only libraries are fully functional but cannot be modified in the Basic IDE.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3145228" xml-lang="en-US" l10n="U" oldref="55">Check the <emph>Replace existing libraries</emph> box if you want existing libraries of the same name to be overwritten.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3147004" xml-lang="en-US" l10n="U" oldref="56">Click <emph>OK</emph> to append the library.</paragraph>
+</listitem>
+</list>
+<bookmark xml-lang="en-US" branch="index" id="bm_id678426"><bookmark_value>deleting;libraries</bookmark_value>
+<bookmark_value>libraries;deleting</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3159100" xml-lang="en-US" level="3" l10n="U" oldref="17">Deleting a Library</paragraph>
+<list type="ordered">
+<listitem>
+<paragraph role="listitem" id="par_id3150086" xml-lang="en-US" l10n="U" oldref="18">Choose <emph>Tools - Macros - Macro</emph> and click <emph>Organizer</emph> or click the <emph>Modules</emph> icon in the Basic IDE to open the <emph>Macro Organizer</emph> dialog.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3146808" xml-lang="en-US" l10n="U" oldref="57">Click the <emph>Libraries</emph> tab.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3158212" xml-lang="en-US" l10n="U" oldref="58">Select the object with the library to be deleted from the <emph>Application/Document</emph> list.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3150361" xml-lang="en-US" l10n="U" oldref="20">Click <emph>Delete</emph>.</paragraph>
+</listitem>
+</list>
+<list type="unordered">
+<listitem>
+<paragraph role="listitem" id="par_id3152986" xml-lang="en-US" l10n="U" oldref="19">Deleting a library permanently deletes all existing modules and corresponding procedures and functions.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3148868" xml-lang="en-US" l10n="U" oldref="59">You cannot delete the default library named "Standard".</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3146869" xml-lang="en-US" l10n="U" oldref="60">If you delete a library that was inserted as reference only the reference is deleted but not the library itself.</paragraph>
+</listitem>
+</list>
+<paragraph role="heading" id="hd_id3147070" xml-lang="en-US" level="2" l10n="U" oldref="21">Organizing Modules and Dialogs</paragraph>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3155265"><bookmark_value>modules;creating</bookmark_value>
+<bookmark_value>dialogs;creating</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3155265" xml-lang="en-US" level="3" l10n="U" oldref="61">Creating a New Module or Dialog</paragraph>
+<list type="ordered">
+<listitem>
+<paragraph role="listitem" id="par_id3154537" xml-lang="en-US" l10n="U" oldref="62">Choose <emph>Tools - Macros - Macro</emph> and click <emph>Organizer</emph> or click the <emph>Modules</emph> icon in the Basic IDE to open the <emph>Macro Organizer</emph> dialog.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3146781" xml-lang="en-US" l10n="U" oldref="63">Click the <emph>Modules</emph> tab.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3159206" xml-lang="en-US" l10n="U" oldref="64">Select the library where the module will be inserted and click <emph>New Module</emph> or <emph>New Dialog</emph>.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3152389" xml-lang="en-US" l10n="U" oldref="65">Enter a name for the module or the dialog and click <emph>OK</emph>.</paragraph>
+</listitem>
+</list>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3152872"><bookmark_value>modules;renaming</bookmark_value>
+<bookmark_value>dialogs;renaming</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3152872" xml-lang="en-US" level="3" l10n="U" oldref="25">Renaming a Module or Dialog</paragraph>
+<list type="ordered">
+<listitem>
+<paragraph role="listitem" id="par_id3159230" xml-lang="en-US" l10n="U" oldref="66">Choose <emph>Tools - Macros - Macro</emph> to open the <emph>Macro </emph>dialog.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3150046" xml-lang="en-US" l10n="U" oldref="67">Select the module to be renamed from the <emph>Macro from</emph> list and click <emph>Edit</emph>.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3153801" xml-lang="en-US" l10n="U" oldref="27">In the Basic IDE, right-click the name of the module or dialog in the tabs at the bottom of the screen and type in the new name.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3155526" xml-lang="en-US" l10n="U" oldref="28">Press Enter to confirm your changes.</paragraph>
+</listitem>
+</list>
+<bookmark xml-lang="en-US" branch="index" id="bm_id163884"><bookmark_value>deleting;dialogs</bookmark_value>
+<bookmark_value>deleting;modules</bookmark_value>
+<bookmark_value>modules;deleting</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3146963" xml-lang="en-US" level="3" l10n="U" oldref="29">Deleting a Module or Dialog</paragraph>
+<list type="ordered">
+<listitem>
+<paragraph role="listitem" id="par_id3147547" xml-lang="en-US" l10n="U" oldref="68">Choose <emph>Tools - Macros - Macro</emph> and click <emph>Organizer</emph> or click the <emph>Modules</emph> icon in the Basic IDE to open the <emph>Macro Organizer</emph> dialog.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3150958" xml-lang="en-US" l10n="U" oldref="69">Click the <emph>Modules</emph> tab.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3149870" xml-lang="en-US" l10n="U" oldref="30">Select the module to be deleted from the <emph>Module/Dialog</emph> list. Double-click an entry to reveal sub-entries, if required.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3147248" xml-lang="en-US" l10n="U" oldref="32">Click <emph>Delete</emph>.</paragraph>
+</listitem>
+</list>
+<paragraph role="warning" id="par_id3151339" xml-lang="en-US" l10n="U" oldref="31">Deleting a module permanently deletes all existing procedures and functions in that module.</paragraph>
+<paragraph role="heading" id="hd_id3151392" xml-lang="en-US" level="2" l10n="U" oldref="33">Organizing Projects among Documents or Templates</paragraph>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3156400"><bookmark_value>modules;moving</bookmark_value>
+<bookmark_value>modules;copying</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3156400" xml-lang="en-US" level="3" l10n="U" oldref="36">Moving or copying modules between documents, templates and the application.</paragraph>
+<list type="ordered">
+<listitem>
+<paragraph role="listitem" id="par_id3146819" xml-lang="en-US" l10n="U" oldref="37">Open all documents or templates among which you want to move or copy the modules or dialogs.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3149319" xml-lang="en-US" l10n="U" oldref="38">Choose <emph>Tools - Macros - Macro</emph> and click <emph>Organizer</emph> or click the <emph>Modules</emph> icon in the Basic IDE to open the <emph>Macro Organizer</emph> dialog.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3145637" xml-lang="en-US" l10n="U" oldref="39">To move a module or dialog to another document, click the corresponding object in the <emph>Module/Dialog</emph> list and drag it to the desired position. A horizontal line indicates the target position of the current object while dragging. Hold the <switchinline select="sys"><caseinline select="MAC">Option
+</caseinline><defaultinline>Ctrl</defaultinline></switchinline> key while dragging to copy the object instead of moving it.</paragraph>
+</listitem>
+</list>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/01040000.xhp b/helpcontent2/source/text/sbasic/shared/01040000.xhp
new file mode 100755
index 0000000000..95a3b3a1ba
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/01040000.xhp
@@ -0,0 +1,267 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared01040000xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Event-Driven Macros</title>
+<filename>/text/sbasic/shared/01040000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-06-28T09:01:57">converted from old format - fpe
+dedr: fixed #i30797#</lastedited>
+</history>
+</meta>
+<body>
+<section id="weitere">
+<paragraph role="heading" id="hd_id3147348" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/01040000.xhp" name="Event-Driven Macros">Event-Driven Macros</link></paragraph>
+<paragraph role="paragraph" id="par_id3146120" xml-lang="en-US" l10n="U" oldref="2">This section describes how to assign Basic programs to program events.</paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3149263" xml-lang="en-US" l10n="U" oldref="4">You can automatically executing a macro when a specified software event occurs by assigning the desired macro to the event. The following table provides an overview of program events and at what point an assigned macro is executed.</paragraph>
+<table id="tbl_id3148646">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3148455" xml-lang="en-US" l10n="U" oldref="5">Event</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3145799" xml-lang="en-US" l10n="U" oldref="6">An assigned macro is executed...</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3149379" xml-lang="en-US" l10n="U" oldref="7">Program Start</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150715" xml-lang="en-US" l10n="U" oldref="8">... after a $[officename] application is started.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3146914" xml-lang="en-US" l10n="U" oldref="9">Program End</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153765" xml-lang="en-US" l10n="U" oldref="10">...before a $[officename] application is terminated.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3145150" xml-lang="en-US" l10n="U" oldref="11">Create Document</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3163808" xml-lang="en-US" l10n="U" oldref="12">...after a new document is created with <emph>File - New</emph> or with the <emph>New</emph> icon.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3145790" xml-lang="en-US" l10n="U" oldref="13">Open Document</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154572" xml-lang="en-US" l10n="U" oldref="14">...after a document is opened with <emph>File - Open</emph> or with the <emph>Open</emph> icon.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153266" xml-lang="en-US" l10n="U" oldref="15">Save Document As</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150208" xml-lang="en-US" l10n="U" oldref="16">...before a document is saved under a specified name (with <emph>File - Save As</emph>, or with <emph>File - Save</emph> or the <emph>Save</emph> icon, if a document name has not yet been specified).</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3158215" xml-lang="en-US" l10n="U" oldref="43">Document has been saved as</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150980" xml-lang="en-US" l10n="U" oldref="44">... after a document was saved under a specified name (with <emph>File - Save As</emph>, or with <emph>File - Save</emph> or with the <emph>Save</emph> icon, if a document name has not yet been specified).</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150519" xml-lang="en-US" l10n="U" oldref="17">Save Document</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3155529" xml-lang="en-US" l10n="U" oldref="18">...before a document is saved with <emph>File - Save</emph> or the <emph>Save</emph> icon, provided that a document name has already been specified.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3149404" xml-lang="en-US" l10n="U" oldref="45">Document has been saved</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3151332" xml-lang="en-US" l10n="U" oldref="46">...after a document is saved with <emph>File - Save</emph> or the <emph>Save</emph> icon, provided that a document name has already been specified.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3159171" xml-lang="en-US" l10n="U" oldref="19">Close Document</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3146868" xml-lang="en-US" l10n="U" oldref="20">...before a document is closed.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3159097" xml-lang="en-US" l10n="U" oldref="47">Document is being closed</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3148606" xml-lang="en-US" l10n="U" oldref="48">...after a document was closed. Note that the "Save Document" event may also occur when the document is saved before closing.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3144772" xml-lang="en-US" l10n="U" oldref="21">Activate Document</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3149442" xml-lang="en-US" l10n="U" oldref="22">...after a document is brought to the foreground.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150888" xml-lang="en-US" l10n="U" oldref="23">Deactivate Document</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154060" xml-lang="en-US" l10n="U" oldref="24">...after another document is brought to the foreground.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3152384" xml-lang="en-US" l10n="U" oldref="25">Print Document</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3152873" xml-lang="en-US" l10n="U" oldref="26">...after the <emph>Print</emph> dialog is closed, but before the actual print process begins.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3159227" xml-lang="en-US" l10n="U" oldref="49">JavaScript run-time error</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3145362" xml-lang="en-US" l10n="U" oldref="50">...when a JavaScript run-time error occurs.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154767" xml-lang="en-US" l10n="U" oldref="27">Print Mail Merge</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153555" xml-lang="en-US" l10n="U" oldref="28">...after the <emph>Print</emph> dialog is closed, but before the actual print process begins. This event occurs for each copy printed.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3156366" xml-lang="en-US" l10n="U" oldref="51">Change of the page count</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154627" xml-lang="en-US" l10n="U" oldref="52">...when the page count changes.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154737" xml-lang="en-US" l10n="U" oldref="53">Message received</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150952" xml-lang="en-US" l10n="U" oldref="54">...if a message was received.</paragraph>
+</tablecell>
+</tablerow>
+</table>
+
+<paragraph role="heading" id="hd_id3153299" xml-lang="en-US" level="2" l10n="U" oldref="30">Assigning a Macro to an Event</paragraph>
+<list type="ordered">
+<listitem>
+<paragraph role="listitem" id="par_id3147244" xml-lang="en-US" l10n="U" oldref="31">Choose <emph>Tools - Configure</emph> and click the <emph>Events</emph> tab.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3146098" xml-lang="en-US" l10n="U" oldref="55">Select whether you want the assignment to be globally valid or just valid in the current document by selecting the <emph>StarOffice</emph> or <emph>Document</emph> option.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3150431" xml-lang="en-US" l10n="U" oldref="32">Select the event from the <emph>Event</emph> list.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3148742" xml-lang="en-US" l10n="U" oldref="33">Select the module containing the macro to be assigned to the selected event from the <emph>Macros</emph> list. The list contains a hierarchical list of modules, libraries, files, and templates.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3151344" xml-lang="en-US" l10n="U" oldref="34">Select the macro to be assigned from the right list.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3146321" xml-lang="en-US" l10n="U" oldref="35">Click <emph>Assign</emph>.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3147414" xml-lang="en-US" l10n="U" oldref="56">Click <emph>OK</emph> to close the dialog.</paragraph>
+</listitem>
+</list>
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154581"><bookmark_value>events;delete macro assignment</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3154581" xml-lang="en-US" level="2" l10n="U" oldref="36">Removing the Assignment of a Macro to an Event</paragraph>
+<list type="ordered">
+<listitem>
+<paragraph role="listitem" id="par_id3146883" xml-lang="en-US" l10n="U" oldref="57">Choose <emph>Tools - Configure</emph> and click the <emph>Events</emph> tab.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3155909" xml-lang="en-US" l10n="U" oldref="58">Select whether you want to remove a gobal assignment or an assignment that is just valid in the current document by selecting the <emph>StarOffice</emph> or <emph>Document</emph> option.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3159129" xml-lang="en-US" l10n="U" oldref="59">Select the event that contains the assignment to be removed from the <emph>Event</emph> list.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3149143" xml-lang="en-US" l10n="U" oldref="37">Click <emph>Remove</emph>.</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3149351" xml-lang="en-US" l10n="U" oldref="60">Click <emph>OK</emph> to close the dialog.</paragraph>
+</listitem>
+</list>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/01050000.xhp b/helpcontent2/source/text/sbasic/shared/01050000.xhp
new file mode 100644
index 0000000000..50eff8206c
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/01050000.xhp
@@ -0,0 +1,93 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared01050000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">$[officename] Basic IDE</title>
+<filename>/text/sbasic/shared/01050000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="IDE">
+ <paragraph id="hd_id3154422" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><variable id="01050000"><link href="text/sbasic/shared/01050000.xhp" name="$[officename] Basic IDE">$[officename] Basic IDE</link></variable></paragraph>
+ <paragraph role="paragraph" id="par_id3153142" l10n="U" xml-lang="en-US" oldref="2">This section describes the structure of the Basic IDE.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/main0211.xhp#makro"/>
+ <embed href="text/sbasic/shared/01050100.xhp#beobachter"/>
+ <embed href="text/sbasic/shared/01050200.xhp#kommando"/>
+ <embed href="text/sbasic/shared/01050300.xhp#haltepunkte"/>
+ <embed href="text/sbasic/shared/keys.xhp#keys"/>
+ <paragraph role="heading" level="2" id="hd_id3153188" l10n="U" xml-lang="en-US" oldref="5">Commands From the Context menu of the Module Tabs</paragraph>
+ <paragraph role="heading" level="3" id="hd_id3154731" l10n="U" xml-lang="en-US" oldref="6">Insert</paragraph>
+ <bookmark branch="hid/.uno:NewModule" xml-lang="en-US" id="bm_id3145646"/><paragraph role="heading" level="4" id="hd_id3151074" l10n="U" xml-lang="en-US" oldref="8">Module</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3149581" xml-lang="en-US" oldref="9"><ahelp hid=".uno:NewModule" visibility="visible">Inserts a new module into the current library.</ahelp></paragraph>
+ <bookmark branch="hid/.uno:NewDialog" xml-lang="en-US" id="bm_id3155418"/><paragraph role="heading" level="4" id="hd_id3147397" l10n="U" xml-lang="en-US" oldref="10">Dialog</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3144335" xml-lang="en-US" oldref="11"><ahelp hid=".uno:NewDialog" visibility="visible">Inserts a new dialog into the current library.</ahelp></paragraph>
+ <bookmark branch="hid/.uno:DeleteCurrent" xml-lang="en-US" id="bm_id3146971"/><paragraph role="heading" level="3" id="hd_id3155602" l10n="U" xml-lang="en-US" oldref="12">Delete</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3155064" xml-lang="en-US" oldref="13"><ahelp hid=".uno:DeleteCurrent" visibility="visible">Deletes the selected module.</ahelp></paragraph>
+ <bookmark branch="hid/.uno:RenameCurrent" xml-lang="en-US" id="bm_id3150324"/><paragraph role="heading" level="3" id="hd_id3149018" l10n="U" xml-lang="en-US" oldref="14">Rename</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3154754" xml-lang="en-US" oldref="15"><ahelp hid=".uno:RenameCurrent" visibility="visible">Renames the current module in place.</ahelp></paragraph>
+ <bookmark branch="hid/.uno:HideCurPage" xml-lang="en-US" id="bm_id3146317"/><paragraph role="heading" level="3" id="hd_id3150043" l10n="U" xml-lang="en-US" oldref="16">Hide</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3145147" xml-lang="en-US" oldref="17"><ahelp hid=".uno:HideCurPage" visibility="visible">Hides the current module.</ahelp></paragraph>
+ <paragraph role="heading" level="3" id="hd_id3163805" l10n="U" xml-lang="en-US" oldref="18">Modules</paragraph>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3153965" l10n="U" oldref="19">Opens the <link href="text/sbasic/shared/01/06130000.xhp" name="Macro Organizer"><emph>Macro Organizer</emph></link> dialog.</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/01050100.xhp b/helpcontent2/source/text/sbasic/shared/01050100.xhp
new file mode 100644
index 0000000000..effac1bdb8
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/01050100.xhp
@@ -0,0 +1,96 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared01050100xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Watch Window</title>
+<filename>/text/sbasic/shared/01050100.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-05-12T14:31:55">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="beobachter">
+<paragraph role="heading" id="hd_id3149457" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/01050100.xhp">Watch Window</link></paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3154908" xml-lang="en-US" l10n="U" oldref="9">The Watch window allows you to observe the value of variables during the execution of a program. Define the variable in the Watch text box. Click on <link href="text/sbasic/shared/02/11080000.xhp">Add Watch</link> to add the variable to the list box and to display its values.</paragraph>
+<bookmark xml-lang="en-US" branch="hid/HID_BASICIDE_WATCHWINDOW_EDIT" id="bm_id3125865" localize="false"/>
+<paragraph role="heading" id="hd_id3145173" xml-lang="en-US" level="2" l10n="U" oldref="4">Watch</paragraph>
+<paragraph role="paragraph" id="par_id3155132" xml-lang="en-US" l10n="U" oldref="5"><ahelp hid="HID_BASICIDE_WATCHWINDOW_EDIT">Enter the name of the variable whose value is to be monitored.</ahelp></paragraph>
+<bookmark xml-lang="en-US" branch="hid/HID_BASICIDE_REMOVEWATCH" id="bm_id3163712" localize="false"/>
+<paragraph role="heading" id="hd_id3148645" xml-lang="en-US" level="2" l10n="U" oldref="6">Remove Watch</paragraph>
+<paragraph role="paragraph" id="par_id3148576" xml-lang="en-US" l10n="U" oldref="7"><ahelp hid="HID_BASICIDE_REMOVEWATCH">Removes the selected variable from the list of watched variables.</ahelp></paragraph>
+<table id="tbl_id3145271">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3147426" xml-lang="en-US" l10n="E">
+<image id="img_id3152460" src="res/baswatr.png" ><alt id="alt_id3152460" xml-lang="en-US">Icon</alt>
+ </image></paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154012" xml-lang="en-US" l10n="U" oldref="8">Remove Watch</paragraph>
+</tablecell>
+</tablerow>
+</table>
+
+<bookmark xml-lang="en-US" branch="hid/HID_BASICIDE_WATCHWINDOW_LIST" id="bm_id3154944" localize="false"/>
+<paragraph role="heading" id="hd_id3154491" xml-lang="en-US" level="2" l10n="U" oldref="10">Editing the Value of a Watched Variable</paragraph>
+<paragraph role="paragraph" id="par_id3156283" xml-lang="en-US" l10n="U" oldref="11"><ahelp hid="HID_BASICIDE_WATCHWINDOW_LIST">Displays the list of watched variables. Click twice with a short pause in between on an entry to edit its value.</ahelp> The new value will be taken as the variable's value for the program.</paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/01050200.xhp b/helpcontent2/source/text/sbasic/shared/01050200.xhp
new file mode 100755
index 0000000000..9694f753dd
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/01050200.xhp
@@ -0,0 +1,74 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared01050200xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Call Stack Window (Calls)</title>
+<filename>/text/sbasic/shared/01050200.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="kommando">
+ <bookmark branch="hid/HID_BASICIDE_STACKWINDOW_LIST" xml-lang="en-US" id="bm_id3150541"/><paragraph id="hd_id3146794" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/01050200.xhp" name="Call Stack Window (Calls)">Call Stack Window (Calls)</link></paragraph>
+ </section>
+ <paragraph l10n="U" xml-lang="en-US" role="paragraph" id="par_id3150400" oldref="2"><ahelp hid="HID_BASICIDE_STACKWINDOW_LIST" visibility="hidden">Displays the sequence of procedures and functions during the execution of a program.</ahelp>The <emph>Call Stack</emph> allows you to monitor the sequence of procedures and functions during the execution of a program. The procedures are functions are displayed bottom to top with the most recent function or procedure call at the top of the list.</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/01050300.xhp b/helpcontent2/source/text/sbasic/shared/01050300.xhp
new file mode 100755
index 0000000000..87f83e30dc
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/01050300.xhp
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared01050300xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Manage Breakpoints</title>
+<filename>/text/sbasic/shared/01050300.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="haltepunkte">
+ <bookmark branch="hid/HID_BASICIDE_BRKDLG" xml-lang="en-US" id="bm_id3145090"/><bookmark branch="hid/HID_BASICIDE_BRKPROPS" xml-lang="en-US" id="bm_id3147291"/><paragraph id="hd_id3154927" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/01050300.xhp" name="Manage Breakpoints">Manage Breakpoints</link></paragraph>
+ </section>
+ <paragraph l10n="U" role="paragraph" id="par_id3148550" xml-lang="en-US" oldref="2"><ahelp hid="HID_BASICIDE_BRKPROPS" visibility="visible">Specifies the options for breakpoints.</ahelp></paragraph>
+ <bookmark branch="hid/BASCTL_COMBOBOX_RID_BASICIDE_BREAKPOINTDLG_RID_CB_BRKPOINTS" xml-lang="en-US" id="bm_id3149656"/><paragraph role="heading" level="2" id="hd_id3149670" l10n="U" xml-lang="en-US" oldref="3">Breakpoints</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150398" xml-lang="en-US" oldref="4"><ahelp visibility="visible" hid="BASCTL_COMBOBOX_RID_BASICIDE_BREAKPOINTDLG_RID_CB_BRKPOINTS">Enter the line number for a new breakpoint, then click <emph>New</emph>.</ahelp></paragraph>
+ <bookmark branch="hid/BASCTL_CHECKBOX_RID_BASICIDE_BREAKPOINTDLG_RID_CHKB_ACTIVE" xml-lang="en-US" id="bm_id3156422"/><bookmark branch="hid/HID_BASICIDE_ACTIV" xml-lang="en-US" id="bm_id3150870"/><paragraph role="heading" level="2" id="hd_id3156280" l10n="U" xml-lang="en-US" oldref="6">Active</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3154910" xml-lang="en-US" oldref="7"><ahelp hid="HID_BASICIDE_ACTIV" visibility="visible">Activates or deactivates the current breakpoint.</ahelp></paragraph>
+ <bookmark branch="hid/BASCTL_NUMERICFIELD_RID_BASICIDE_BREAKPOINTDLG_RID_FLD_PASS" xml-lang="en-US" id="bm_id3153768"/><paragraph role="heading" level="2" id="hd_id3144500" l10n="U" xml-lang="en-US" oldref="8">Pass Count</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3161831" xml-lang="en-US" oldref="9"><ahelp hid="BASCTL_NUMERICFIELD_RID_BASICIDE_BREAKPOINTDLG_RID_FLD_PASS" visibility="visible">Specify the number of loops to perform before the breakpoint takes effect.</ahelp></paragraph>
+ <bookmark branch="hid/BASCTL_PUSHBUTTON_RID_BASICIDE_BREAKPOINTDLG_RID_PB_NEW" xml-lang="en-US" id="bm_id3150012"/><paragraph role="heading" level="2" id="hd_id3152579" l10n="U" xml-lang="en-US" oldref="10">New</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3148575" xml-lang="en-US" oldref="11"><ahelp hid="BASCTL_PUSHBUTTON_RID_BASICIDE_BREAKPOINTDLG_RID_PB_NEW" visibility="visible">Creates a breakpoint on the line number specified.</ahelp></paragraph>
+ <bookmark branch="hid/BASCTL_PUSHBUTTON_RID_BASICIDE_BREAKPOINTDLG_RID_PB_DEL" xml-lang="en-US" id="bm_id3159156"/><paragraph role="heading" level="2" id="hd_id3147319" l10n="U" xml-lang="en-US" oldref="12">Delete</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3153363" xml-lang="en-US" oldref="13"><ahelp hid="BASCTL_PUSHBUTTON_RID_BASICIDE_BREAKPOINTDLG_RID_PB_DEL" visibility="visible">Deletes the selected breakpoint.</ahelp></paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/01170100.xhp b/helpcontent2/source/text/sbasic/shared/01170100.xhp
new file mode 100755
index 0000000000..27e88152c9
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/01170100.xhp
@@ -0,0 +1,140 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared01170100xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Control and Dialog Properties</title>
+<filename>/text/sbasic/shared/01170100.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="control">
+ <bookmark id="bm_id3153379" branch="index" xml-lang="en-US"><bookmark_value>controls; properties</bookmark_value><bookmark_value>properties; controls</bookmark_value><bookmark_value>properties; dialogs</bookmark_value><bookmark_value>dialogs; properties</bookmark_value></bookmark><bookmark branch="hid/HID_FM_PROPDLG_TABCTR" xml-lang="en-US" id="bm_id3151210"/><paragraph id="hd_id3153379" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/01170100.xhp" name="Control and Dialog Properties">Control and Dialog Properties</link></paragraph>
+ </section>
+ <paragraph l10n="U" role="paragraph" id="par_id3156280" xml-lang="en-US" oldref="2"><ahelp hid="HID_FM_PROPDLG_TABCTR" visibility="visible">Specifies the properties of the selected dialog or control.</ahelp> You must be in the design mode to be able to use this command.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3151043" l10n="U" xml-lang="en-US" oldref="20">Entering Data in the Properties Dialog</paragraph>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3153771" l10n="U" oldref="3">The following key combinations apply to enter data in multiline fields or combo boxes of the <emph>Properties</emph> dialog:</paragraph>
+ <table id="tbl_id3152460">
+
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3150010" l10n="U" xml-lang="en-US" oldref="18">Keys</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3147317" l10n="U" xml-lang="en-US" oldref="19">Effects</paragraph>
+ </tablecell>
+ </tablerow>
+
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3146121" l10n="U" xml-lang="en-US" oldref="4">Alt+Down Arrow</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3149581" l10n="U" xml-lang="en-US" oldref="5">Opens a combo box</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3147394" l10n="U" xml-lang="en-US" oldref="6">Alt+Up Arrow</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3148455" l10n="U" xml-lang="en-US" oldref="7">Closes a combo box</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3154511" l10n="U" xml-lang="en-US" oldref="8">Shift+Enter</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3146971" l10n="U" xml-lang="en-US" oldref="9">Inserts a line break in multiline fields.</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3146914" l10n="U" xml-lang="en-US" oldref="10">(UpArrow)</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3153714" l10n="U" xml-lang="en-US" oldref="11">Goes to the previous line.</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3159266" l10n="U" xml-lang="en-US" oldref="12">(DownArrow)</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3146314" l10n="U" xml-lang="en-US" oldref="13">Goes to the next line.</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3149255" l10n="U" xml-lang="en-US" oldref="14">Enter</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3149566" l10n="U" xml-lang="en-US" oldref="15">Applies the changes made to a field and places the cursor into the next field.</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+ <embed href="text/sbasic/shared/01170101.xhp#allgemein"/>
+ <embed href="text/sbasic/shared/01170103.xhp#ereignisse"/>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/01170101.xhp b/helpcontent2/source/text/sbasic/shared/01170101.xhp
new file mode 100755
index 0000000000..a483c1aeb9
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/01170101.xhp
@@ -0,0 +1,521 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared01170101xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">General</title>
+<filename>/text/sbasic/shared/01170101.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-06-28T08:56:32">UFI: added Selection item and sorted all entries, added udk.features "Basic dialog editor: control property names changed"
+dedr: reviewed, fixed #i30790#</lastedited>
+</history>
+</meta>
+<body>
+<section id="allgemein">
+<paragraph role="heading" id="hd_id3147436" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/01170101.xhp" name="General">General</link></paragraph>
+<paragraph role="paragraph" id="par_id3155855" xml-lang="en-US" l10n="U" oldref="2">Define the properties for the selected control or dialog. The available properties depend on the type of control selected. The following properties therefore are not available for every type of control.</paragraph>
+</section>
+<sort order="asc">
+<section id="Section64">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_IMAGE_ALIGN" id="bm_id3153144" localize="false"/>
+<paragraph role="heading" id="hd_id3148647" xml-lang="en-US" level="2" l10n="U" oldref="11">Alignment</paragraph>
+<paragraph role="paragraph" id="par_id3147318" xml-lang="en-US" l10n="U" oldref="12"><ahelp hid="HID_PROP_IMAGE_ALIGN">Specify the alignment option for the selected control.</ahelp></paragraph>
+</section>
+<section id="Section63">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_AUTOCOMPLETE" id="bm_id3146985" localize="false"/>
+<paragraph role="heading" id="hd_id3153189" xml-lang="en-US" level="2" l10n="U" oldref="76">AutoFill</paragraph>
+<paragraph role="paragraph" id="par_id3152460" xml-lang="en-US" l10n="U" oldref="77"><ahelp hid="HID_PROP_AUTOCOMPLETE">Select "Yes" to enable the AutoFill function for the selected control. </ahelp></paragraph>
+</section>
+<section id="Section62">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_BACKGROUNDCOLOR" id="bm_id3154943" localize="false"/>
+<paragraph role="heading" id="hd_id3155307" xml-lang="en-US" level="2" l10n="U" oldref="3">Background color</paragraph>
+<paragraph role="paragraph" id="par_id3145251" xml-lang="en-US" l10n="U" oldref="4"><ahelp hid="HID_PROP_BACKGROUNDCOLOR">Specify the background color for the current control.</ahelp></paragraph>
+</section>
+<section id="Section61">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_BLOCKINCREMENT" id="bm_id3145647" localize="false"/>
+<paragraph role="heading" id="hd_id3151076" xml-lang="en-US" level="2" l10n="CHG" oldref="263">Large change</paragraph>
+<paragraph role="paragraph" id="par_id3148457" xml-lang="en-US" l10n="U" oldref="262"><ahelp hid="HID_PROP_BLOCKINCREMENT">Specify the number of lines to scroll when a user clicks in the area between the slider and the arrows on a scrollbar.</ahelp></paragraph>
+</section>
+<section id="Section60">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_BORDER" id="bm_id3153417" localize="false"/>
+<paragraph role="heading" id="hd_id3153876" xml-lang="en-US" level="2" l10n="U" oldref="139">Border</paragraph>
+<paragraph role="paragraph" id="par_id3154017" xml-lang="en-US" l10n="U" oldref="140"><ahelp hid="HID_PROP_BORDER">Specify the border type for the current control.</ahelp></paragraph>
+</section>
+<section id="Section59">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_PUSHBUTTONTYPE" id="bm_id3153709" localize="false"/>
+<paragraph role="heading" id="hd_id3150749" xml-lang="en-US" level="2" l10n="U" oldref="23">Button type</paragraph>
+<paragraph role="paragraph" id="par_id3155064" xml-lang="en-US" l10n="U" oldref="24"><ahelp hid="HID_PROP_PUSHBUTTONTYPE">Select a button type. Button types determine what type of action is initiated.</ahelp></paragraph>
+</section>
+<section id="Section58">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_FONT" id="bm_id3150321" localize="false"/>
+<paragraph role="heading" id="hd_id3149019" xml-lang="en-US" level="2" l10n="U" oldref="5">Character set</paragraph>
+<paragraph role="paragraph" id="par_id3148406" xml-lang="en-US" l10n="U" oldref="6"><ahelp hid="HID_PROP_FONT">Select the font to be used for displaying the contents of the current control.</ahelp></paragraph>
+</section>
+<section id="Section57">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_CURRENCYSYMBOL" id="bm_id3147361" localize="false"/>
+<paragraph role="heading" id="hd_id3147341" xml-lang="en-US" level="2" l10n="U" oldref="149">Currency symbol</paragraph>
+<paragraph role="paragraph" id="par_id3146315" xml-lang="en-US" l10n="U" oldref="150"><ahelp hid="HID_PROP_CURRENCYSYMBOL">Enter the currency symbol to be used for currency controls.</ahelp></paragraph>
+</section>
+<section id="Section56">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_DATEFORMAT" id="bm_id3163805" localize="false"/>
+<paragraph role="heading" id="hd_id3153965" xml-lang="en-US" level="2" l10n="U" oldref="82">Date format</paragraph>
+<paragraph role="paragraph" id="par_id3155334" xml-lang="en-US" l10n="U" oldref="83"><ahelp hid="HID_PROP_DATEFORMAT">Specify the desired format for a date control. A date control interprets the user input depending on this format setting.</ahelp></paragraph>
+</section>
+<section id="Section55">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_DATEMAX" id="bm_id3150941" localize="false"/>
+<paragraph role="heading" id="hd_id3154663" xml-lang="en-US" level="2" l10n="U" oldref="121">Date max</paragraph>
+<paragraph role="paragraph" id="par_id3148485" xml-lang="en-US" l10n="U" oldref="122"><ahelp hid="HID_PROP_DATEMAX">Specify the upper limit for a date control.</ahelp></paragraph>
+</section>
+<section id="Section54">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_DATEMIN" id="bm_id3145256" localize="false"/>
+<paragraph role="heading" id="hd_id3152778" xml-lang="en-US" level="2" l10n="U" oldref="131">Date min.</paragraph>
+<paragraph role="paragraph" id="par_id3154120" xml-lang="en-US" l10n="U" oldref="132"><ahelp hid="HID_PROP_DATEMIN">Specify the lower limit for a date control.</ahelp></paragraph>
+</section>
+<section id="Section53">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_DECIMAL_ACCURACY" id="bm_id3150206" localize="false"/>
+<paragraph role="heading" id="hd_id3154573" xml-lang="en-US" level="2" l10n="U" oldref="137">Decimal accuracy</paragraph>
+<paragraph role="paragraph" id="par_id3166426" xml-lang="en-US" l10n="U" oldref="138"><ahelp hid="HID_PROP_DECIMAL_ACCURACY">Specify the number of decimal places displayed for a numerical or currency control.</ahelp></paragraph>
+</section>
+<section id="Section52">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_DEFAULT_BUTTON" id="bm_id3149814" localize="false"/>
+<paragraph role="heading" id="hd_id3159091" xml-lang="en-US" level="2" l10n="U" oldref="144">Default button</paragraph>
+<paragraph role="paragraph" id="par_id3154200" xml-lang="en-US" l10n="U" oldref="145"><ahelp hid="HID_PROP_DEFAULT_BUTTON">Select "Yes" to make the current button control the default selection. Pressing <emph>Return</emph> in the dialog activates the default button.</ahelp></paragraph>
+</section>
+<section id="Section66">
+<paragraph role="heading" id="par_idN108BA" xml-lang="en-US" level="2" l10n="NEW">Delay<comment>UFI: see http://dba.openoffice.org/specifications/forms/scrollbar_form_control.sxw</comment></paragraph>
+<paragraph role="paragraph" id="par_idN108D0" xml-lang="en-US" l10n="NEW">Specifies the delay in milliseconds between scrollbar trigger events. A trigger event occurs when you click a scrollbar arrow or click the background area in a scrollbar. Repeated trigger events occur if you keep the mouse button pressed when you click a scrollbar arrow or background area in a scrollbar. If you want, you can include valid time units with the number that you enter, for example, 2 s or 500 ms.</paragraph>
+</section>
+<section id="Section51">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_DROPDOWN" id="bm_id3158212" localize="false"/>
+<paragraph role="heading" id="hd_id3151278" xml-lang="en-US" level="2" l10n="U" oldref="19">Dropdown</paragraph>
+<paragraph role="paragraph" id="par_id3155113" xml-lang="en-US" l10n="U" oldref="20"><ahelp hid="HID_PROP_DROPDOWN">Select "Yes" to enable the dropdown option for list or combo box controls. A dropdown control field has an arrow button which you can click to open a list of the existing form entries.</ahelp></paragraph>
+</section>
+<section id="Section50">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_ENABLED" id="bm_id3150199" localize="false"/>
+<paragraph role="heading" id="hd_id3151216" xml-lang="en-US" level="2" l10n="U" oldref="13">Enabled</paragraph>
+<paragraph role="paragraph" id="par_id3150517" xml-lang="en-US" l10n="U" oldref="14"><ahelp hid="HID_PROP_ENABLED">Select "Yes" to enable the control. If the control is disabled, it is grayed out in the dialog.</ahelp></paragraph>
+</section>
+<section id="Section49">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_EDITMASK" id="bm_id3150886" localize="false"/>
+<paragraph role="heading" id="hd_id3155379" xml-lang="en-US" level="2" l10n="U" oldref="91">Edit mask</paragraph>
+<paragraph role="paragraph" id="par_id3155509" xml-lang="en-US" l10n="U" oldref="92"><ahelp hid="HID_PROP_EDITMASK">Specify the edit mask for a pattern control. This is a character code that defines the input format for the control.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_id3154485" xml-lang="en-US" l10n="U" oldref="184">You need to specify a masking character for each input character of the edit mask to restrict the input to the values that are listed in the following table:</paragraph>
+<table id="tbl_id3152986">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3155809" xml-lang="en-US" l10n="U" oldref="93"> Character </paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3148702" xml-lang="en-US" l10n="U" oldref="94">Meaning</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3156199" xml-lang="en-US" l10n="U" oldref="95">L</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3148869" xml-lang="en-US" l10n="U" oldref="96">A text constant. This character cannot be modified by the user. </paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3156016" xml-lang="en-US" l10n="U" oldref="97">a</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3157983" xml-lang="en-US" l10n="U" oldref="98">The characters a-z can be entered here. If a capital letter is entered, it is automatically converted to a lowercase letter.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3148607" xml-lang="en-US" l10n="U" oldref="99">A</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3159204" xml-lang="en-US" l10n="U" oldref="100">The characters A-Z can be entered here. If a lowercase letter is entered, it is automatically converted to a capital letter</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3149126" xml-lang="en-US" l10n="U" oldref="101">c</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3151304" xml-lang="en-US" l10n="U" oldref="102">The characters a-z and 0-9 can be entered here. If a capital letter is entered, it is automatically converted to a lowercase letter.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3152870" xml-lang="en-US" l10n="U" oldref="103">C</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3155071" xml-lang="en-US" l10n="U" oldref="104">The characters a-z and 0-9 can be entered here. If a lowercase letter is entered, it is automatically converted to a capital letter</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3159230" xml-lang="en-US" l10n="U" oldref="105">N</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154650" xml-lang="en-US" l10n="U" oldref="106">Only the characters 0-9 can be entered.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3149383" xml-lang="en-US" l10n="U" oldref="107">x</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153489" xml-lang="en-US" l10n="U" oldref="108">All printable characters can be entered.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3146967" xml-lang="en-US" l10n="U" oldref="109">X</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154707" xml-lang="en-US" l10n="U" oldref="110">All printable characters can be entered. If a lowercase letter is used, it is automatically converted to a capital letter.</paragraph>
+</tablecell>
+</tablerow>
+</table>
+
+</section>
+<section id="Section48">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_IMAGE_URL" id="bm_id3151193" localize="false"/>
+<paragraph role="heading" id="hd_id3149317" xml-lang="en-US" level="2" l10n="U" oldref="114">Graphics</paragraph>
+<paragraph role="paragraph" id="par_id3147546" xml-lang="en-US" l10n="U" oldref="115"><ahelp hid="HID_PROP_IMAGE_URL">Specify the source of the graphics for a button or an image control. Click "..." to select a file.</ahelp></paragraph>
+</section>
+<section id="Section47">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_HEIGHT" id="bm_id3153302" localize="false"/>
+<paragraph role="heading" id="hd_id3154627" xml-lang="en-US" level="2" l10n="U" oldref="258">Height</paragraph>
+<paragraph role="paragraph" id="par_id3155754" xml-lang="en-US" l10n="U" oldref="257"><ahelp hid="HID_PROP_HEIGHT">Specify the height of the current control or the dialog.</ahelp></paragraph>
+</section>
+<section id="Section46">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_HELPTEXT" id="bm_id3149870" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_TAG" id="bm_id3149873" localize="false"/>
+<paragraph role="heading" id="hd_id3153072" xml-lang="en-US" level="2" l10n="U" oldref="208">Help text</paragraph>
+<paragraph role="paragraph" id="par_id3147502" xml-lang="en-US" l10n="U" oldref="209"><ahelp hid="HID_PROP_TAG">Enter a help text that is displayed as a tip (bubble help) when the mouse rests over the control.</ahelp></paragraph>
+</section>
+<section id="Section45">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_HELPURL" id="bm_id3153959" localize="false"/>
+<paragraph role="heading" id="hd_id3154400" xml-lang="en-US" level="2" l10n="U" oldref="212">Help URL</paragraph>
+<paragraph role="paragraph" id="par_id3150431" xml-lang="en-US" l10n="CHG" oldref="213"><ahelp hid="HID_PROP_HELPURL">Specify the help URL that is called when you press F1 while the focus is on a particular control. For example, use the format HID:1234 to call the Help-ID with the number 1234.</ahelp></paragraph>
+</section>
+<section id="Section44">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_HSCROLL" id="bm_id3151340" localize="false"/>
+<paragraph role="heading" id="hd_id3147299" xml-lang="en-US" level="2" l10n="U" oldref="40">Horizontal scrollbar</paragraph>
+<paragraph role="paragraph" id="par_id3151387" xml-lang="en-US" l10n="U" oldref="41"><ahelp hid="HID_PROP_HSCROLL">Select "Yes" to display a horizontal scrollbar for the current control.</ahelp></paragraph>
+</section>
+<section id="Section43">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_VALUESTEP" id="bm_id3166464" localize="false"/>
+<paragraph role="heading" id="hd_id3159260" xml-lang="en-US" level="2" l10n="U" oldref="85">Incr./decrement value</paragraph>
+<paragraph role="paragraph" id="par_id3145233" xml-lang="en-US" l10n="U" oldref="86"><ahelp hid="HID_PROP_VALUESTEP">Specify the increment and decrement interval for spin button controls.</ahelp></paragraph>
+</section>
+<section id="Section42">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_LABEL" id="bm_id3146318" localize="false"/>
+<paragraph role="heading" id="hd_id3150536" xml-lang="en-US" level="2" l10n="U" oldref="7">Label</paragraph>
+<paragraph role="paragraph" id="par_id3146324" xml-lang="en-US" l10n="U" oldref="8"><ahelp hid="HID_PROP_LABEL">Specifies the label of the current control. The label is displayed along with the control.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_id3146816" xml-lang="en-US" l10n="U" oldref="223">You can create multi-line <emph>labels</emph> by inserting manual line breaks in the label using <emph>Shift+Enter</emph>.</paragraph>
+</section>
+<section id="Section41">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_LINECOUNT" id="bm_id3150033" localize="false"/>
+<paragraph role="heading" id="hd_id3150457" xml-lang="en-US" level="2" l10n="U" oldref="74">Line Count</paragraph>
+<paragraph role="paragraph" id="par_id3149143" xml-lang="en-US" l10n="U" oldref="75"><ahelp hid="HID_PROP_LINECOUNT">Enter the number of lines to be displayed for a list control. For combo boxes, this setting is only active if the dropdown option is enabled. </ahelp></paragraph>
+</section>
+<section id="Section40">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_LINEINCREMENT" id="bm_id3155912" localize="false"/>
+<paragraph role="heading" id="hd_id3153121" xml-lang="en-US" level="2" l10n="CHG" oldref="256">Small change</paragraph>
+<paragraph role="paragraph" id="par_id3157875" xml-lang="en-US" l10n="U" oldref="255"><ahelp hid="HID_PROP_LINEINCREMENT">Specify the number of lines to scroll when a user clicks an arrow on a scrollbar.</ahelp></paragraph>
+</section>
+<section id="Section39">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_STRINGITEMLIST" id="bm_id3159120" localize="false"/>
+<paragraph role="heading" id="hd_id3145221" xml-lang="en-US" level="2" l10n="U" oldref="73">List entries</paragraph>
+<paragraph role="paragraph" id="par_id3154580" xml-lang="en-US" l10n="U" oldref="120"><ahelp hid="HID_PROP_STRINGITEMLIST">Specify the entries for a list control. One line takes one list entry. Press <emph>Shift+Enter</emph> to insert a new line.</ahelp></paragraph>
+</section>
+<section id="Section38">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_LITERALMASK" id="bm_id3150650" localize="false"/>
+<paragraph role="heading" id="hd_id3149723" xml-lang="en-US" level="2" l10n="U" oldref="159">Literal mask</paragraph>
+<paragraph role="paragraph" id="par_id3150656" xml-lang="en-US" l10n="U" oldref="160"><ahelp hid="HID_PROP_LITERALMASK">Specify the initial values to be displayed in a pattern control. This helps the user to identify which values are allowed in a pattern control. The literal mask is restricted by the format specified by the edit mask.</ahelp></paragraph>
+</section>
+<section id="Section37">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_HARDLINEBREAKS" id="bm_id3149886" localize="false"/>
+<paragraph role="heading" id="hd_id3149015" xml-lang="en-US" level="2" l10n="U" oldref="116">Manual line break</paragraph>
+<paragraph role="paragraph" id="par_id3149893" xml-lang="en-US" l10n="U" oldref="117"><ahelp hid="HID_PROP_HARDLINEBREAKS">Select "Yes" to allow manual line breaks inside multiline controls.</ahelp></paragraph>
+</section>
+<section id="Section36">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_MAXTEXTLEN" id="bm_id3150484" localize="false"/>
+<paragraph role="heading" id="hd_id3150463" xml-lang="en-US" level="2" l10n="U" oldref="123">Max. text length</paragraph>
+<paragraph role="paragraph" id="par_id3150745" xml-lang="en-US" l10n="U" oldref="124"><ahelp hid="HID_PROP_MAXTEXTLEN">Specify the maximum number of characters that the user can enter.</ahelp></paragraph>
+</section>
+<section id="Section35">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_MULTILINE" id="bm_id3148727" localize="false"/>
+<paragraph role="heading" id="hd_id3154675" xml-lang="en-US" level="2" l10n="U" oldref="21">Multiline Input</paragraph>
+<paragraph role="paragraph" id="par_id3144741" xml-lang="en-US" l10n="U" oldref="22"><ahelp hid="HID_PROP_MULTILINE">Select "Yes" to allow the input of multiple lines in the control. Press Enter to insert a manual line break in the control.</ahelp></paragraph>
+</section>
+<section id="Section34">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_MULTISELECTION" id="bm_id3151228" localize="false"/>
+<paragraph role="heading" id="hd_id3154848" xml-lang="en-US" level="2" l10n="U" oldref="129">Multiselection</paragraph>
+<paragraph role="paragraph" id="par_id3151235" xml-lang="en-US" l10n="U" oldref="130"><ahelp hid="HID_PROP_MULTISELECTION">Select "Yes" to allow the selection of multiple entries in list controls.</ahelp></paragraph>
+</section>
+<section id="Section33">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_NAME" id="bm_id3143223" localize="false"/>
+<paragraph role="heading" id="hd_id3148887" xml-lang="en-US" level="2" l10n="U" oldref="9">Name</paragraph>
+<paragraph role="paragraph" id="par_id3154548" xml-lang="en-US" l10n="U" oldref="10"><ahelp hid="HID_PROP_NAME">Insert a name for the current control. This name is used to identify the control.</ahelp></paragraph>
+</section>
+<section id="Section32">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_TABINDEX" id="bm_id3146806" localize="false"/>
+<paragraph role="heading" id="hd_id3148739" xml-lang="en-US" level="2" l10n="U" oldref="44">Order</paragraph>
+<paragraph role="paragraph" id="par_id3149252" xml-lang="en-US" l10n="U" oldref="45"><ahelp hid="HID_PROP_TABINDEX">Specify the order in which the controls receive the focus when the Tab key is pressed in the dialog.</ahelp> On entering a dialog, the control with the lowest order (0) receives the focus. Pressing the <emph>Tab</emph> key the successively focusses the other controls as specified by their order number.</paragraph>
+<paragraph role="paragraph" id="par_id3155259" xml-lang="en-US" l10n="U" oldref="46">Initially, the controls receive numbers in the order they are added to the dialog. You can change the order numbers for controls. $[officename] Basic updates the order numbers automatically to avoid duplicate numbers. Controls that cannot be focused are also assigned a value but these controls are skipped when using the Tab key.</paragraph>
+</section>
+<section id="Section31">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_ORIENTATION" id="bm_id3153774" localize="false"/>
+<paragraph role="heading" id="hd_id3149511" xml-lang="en-US" level="2" l10n="U" oldref="247">Orientation</paragraph>
+<paragraph role="paragraph" id="par_id3153780" xml-lang="en-US" l10n="U" oldref="246"><ahelp hid="HID_PROP_ORIENTATION">Specify the orientation for a scrollbar control.</ahelp></paragraph>
+</section>
+<section id="Section30">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_STEP" id="bm_id3145592" localize="false"/>
+<paragraph role="heading" id="hd_id3154374" xml-lang="en-US" level="2" l10n="U" oldref="239">Page (Step)</paragraph>
+<paragraph role="paragraph" id="par_id3154109" xml-lang="en-US" l10n="U" oldref="238"><ahelp hid="HID_PROP_STEP">Specify the number of the dialog page to which the current control is assigned or the page number of the dialog you want to edit.</ahelp> If a dialog has only one page set its <emph>Page (Step)</emph> value to <emph>0</emph>.</paragraph>
+<paragraph role="paragraph" id="par_id3148580" xml-lang="en-US" l10n="U" oldref="236">Select <emph>Page (Step)</emph> = 0 to make a control visible on every dialog page.</paragraph>
+<paragraph role="paragraph" id="par_id3146144" xml-lang="en-US" l10n="U" oldref="235">To switch between dialog pages at run time, you need to create a macro that changes the value of <emph>Page (Step)</emph>.</paragraph>
+</section>
+<section id="Section29">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_ECHO_CHAR" id="bm_id3145129" localize="false"/>
+<paragraph role="heading" id="hd_id3154558" xml-lang="en-US" level="2" l10n="U" oldref="156">Password characters</paragraph>
+<paragraph role="paragraph" id="par_id3152787" xml-lang="en-US" l10n="U" oldref="157"><ahelp hid="HID_PROP_ECHO_CHAR">Enter a character to be displayed instead of the characters that are typed. This can be used for entering passwords in text controls.</ahelp></paragraph>
+</section>
+<section id="Section28">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_POSITIONX" id="bm_id3150282" localize="false"/>
+<paragraph role="heading" id="hd_id3148750" xml-lang="en-US" level="2" l10n="U" oldref="245">PositionX</paragraph>
+<paragraph role="paragraph" id="par_id3154517" xml-lang="en-US" l10n="U" oldref="244"><ahelp hid="HID_PROP_POSITIONX">Specify the distance of the current control from the left side of the dialog.</ahelp></paragraph>
+</section>
+<section id="Section27">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_POSITIONY" id="bm_id3150865" localize="false"/>
+<paragraph role="heading" id="hd_id3152767" xml-lang="en-US" level="2" l10n="U" oldref="243">PositionY</paragraph>
+<paragraph role="paragraph" id="par_id3159082" xml-lang="en-US" l10n="U" oldref="242"><ahelp hid="HID_PROP_POSITIONY">Specify the distance of the current control from the top of the dialog.</ahelp></paragraph>
+</section>
+<section id="Section26">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_CURRSYM_POSITION" id="bm_id3154569" localize="false"/>
+<paragraph role="heading" id="hd_id3159213" xml-lang="en-US" level="2" l10n="U" oldref="221">Prefix symbol</paragraph>
+<paragraph role="paragraph" id="par_id3149688" xml-lang="en-US" l10n="U" oldref="222"><ahelp hid="HID_PROP_CURRSYM_POSITION">Select "Yes" to display the currency symbol prefix in currency controls when a number was entered.</ahelp></paragraph>
+</section>
+<section id="Section25">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_PRINTABLE" id="bm_id3148568" localize="false"/>
+<paragraph role="heading" id="hd_id3149728" xml-lang="en-US" level="2" l10n="U" oldref="89">Print</paragraph>
+<paragraph role="paragraph" id="par_id3150001" xml-lang="en-US" l10n="U" oldref="90"><ahelp hid="HID_PROP_PRINTABLE">Select "Yes" to include the current control in a document's printout.</ahelp></paragraph>
+</section>
+<section id="Section24">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_PROGRESSVALUE" id="bm_id3155955" localize="false"/>
+<paragraph role="heading" id="hd_id3154671" xml-lang="en-US" level="2" l10n="U" oldref="261">Progress value</paragraph>
+<paragraph role="paragraph" id="par_id3146849" xml-lang="en-US" l10n="U" oldref="260"><ahelp hid="HID_PROP_PROGRESSVALUE">Specify a progress value for a progress bar control.</ahelp></paragraph>
+</section>
+<section id="Section23">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_PROGRESSVALUE_MAX" id="bm_id3153208" localize="false"/>
+<paragraph role="heading" id="hd_id3153112" xml-lang="en-US" level="2" l10n="U" oldref="254">Progress value max.</paragraph>
+<paragraph role="paragraph" id="par_id3145167" xml-lang="en-US" l10n="U" oldref="253"><ahelp hid="HID_PROP_PROGRESSVALUE_MAX">Specify the maximum value of a progress bar control.</ahelp></paragraph>
+</section>
+<section id="Section22">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_PROGRESSVALUE_MIN" id="bm_id3150339" localize="false"/>
+<paragraph role="heading" id="hd_id3153569" xml-lang="en-US" level="2" l10n="U" oldref="249">Progress value min.</paragraph>
+<paragraph role="paragraph" id="par_id3154506" xml-lang="en-US" l10n="U" oldref="248"><ahelp hid="HID_PROP_PROGRESSVALUE_MIN">Specify the minimum value of a progress bar control.</ahelp></paragraph>
+</section>
+<section id="Section21">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_READONLY" id="bm_id3155925" localize="false"/>
+<paragraph role="heading" id="hd_id3150134" xml-lang="en-US" level="2" l10n="U" oldref="42">Read-only</paragraph>
+<paragraph role="paragraph" id="par_id3155930" xml-lang="en-US" l10n="U" oldref="43"><ahelp hid="HID_PROP_READONLY">Select "Yes" to prevent the user from editing the value of the current control.</ahelp> The control is enabled and can be focussed but not modified.</paragraph>
+</section>
+<section id="Section65">
+<paragraph role="heading" id="par_idN11112" xml-lang="en-US" level="2" l10n="NEW">Repeat<comment>UFI: see spec spinbutton_form_control.sxw</comment></paragraph>
+<paragraph role="paragraph" id="par_idN11128" xml-lang="en-US" l10n="NEW">Repeats trigger events when you keep the mouse button pressed on a control such as a spin button or scrollbar.</paragraph>
+</section>
+<section id="Section20">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_SCALEIMAGE" id="bm_id3154328" localize="false"/>
+<paragraph role="heading" id="hd_id3148761" xml-lang="en-US" level="2" l10n="U" oldref="264">Scale</paragraph>
+<paragraph role="paragraph" id="par_id3159134" xml-lang="en-US" l10n="U" oldref="265"><ahelp hid="HID_PROP_SCALEIMAGE">Scales the image to fit the control size.</ahelp></paragraph>
+</section>
+<section id="Section19">
+<paragraph role="heading" id="hd_id3147370" xml-lang="en-US" level="2" l10n="U" oldref="241">Scroll value</paragraph>
+<paragraph role="paragraph" id="par_id3159622" xml-lang="en-US" l10n="U" oldref="240">Specify the initial value of a scrollbar control. This determines the position of the scrollbar slider.</paragraph>
+</section>
+<section id="Section18">
+<paragraph role="heading" id="hd_id3155440" xml-lang="en-US" level="2" l10n="U" oldref="252">Scroll value max.</paragraph>
+<paragraph role="paragraph" id="par_id3148877" xml-lang="en-US" l10n="U" oldref="251">Specify the maximum value of a scrollbar control.</paragraph>
+</section>
+<section id="Section67">
+<paragraph role="heading" id="par_idN111E4" xml-lang="en-US" level="2" l10n="NEW">Scroll value min.</paragraph>
+<paragraph role="paragraph" id="par_idN111E8" xml-lang="en-US" l10n="NEW">Specify the minimum value of a scrollbar control.</paragraph>
+</section>
+<section id="Section17">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_SELECTEDITEMS" id="bm_id1413006" localize="false"/>
+<paragraph role="heading" id="par_idN10EC2" xml-lang="en-US" level="2" l10n="NEW">Selection<comment>UFI: udk.features "New property and help ID for property browser in Basic IDE"</comment></paragraph>
+<paragraph role="paragraph" id="par_idN10ED8" xml-lang="en-US" l10n="NEW"><ahelp hid="HID_PROP_SELECTEDITEMS">Specifies the sequence of the selected items, where "0" corresponds to the first item. To select more than one item, Multiselection must be enabled.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_idN10EEB" xml-lang="en-US" l10n="NEW">Click the <emph>...</emph> button to open the <emph>Selection</emph> dialog.</paragraph>
+<bookmark xml-lang="en-US" branch="hid/pcr:ListBox:RID_DLG_SELECTION:LB_ENTRIES" id="bm_id1924802" localize="false"/>
+<bookmark xml-lang="en-US" branch="hid/pcr:ModalDialog:RID_DLG_SELECTION" id="bm_id815454" localize="false"/>
+<paragraph role="paragraph" id="par_idN10F0A" xml-lang="en-US" l10n="NEW"><ahelp hid="pcr:ListBox:RID_DLG_SELECTION:LB_ENTRIES">Click the item or items that you want to select. To select more than one item, ensure that the Multiselection option is selected.</ahelp></paragraph>
+</section>
+<section id="Section16">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_DROPDOWN" id="bm_id3151021" localize="false"/>
+<paragraph role="heading" id="hd_id3154193" xml-lang="en-US" level="2" l10n="U" oldref="87">Spin Button</paragraph>
+<paragraph role="paragraph" id="par_id3145298" xml-lang="en-US" l10n="U" oldref="88"><ahelp hid="HID_PROP_DROPDOWN">Select "Yes" to add spin buttons to a numerical, currency, date, or time control to allow increasing and decreasing the input value using arrow buttons.</ahelp></paragraph>
+</section>
+<section id="Section15">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_STATE" id="bm_id3151282" localize="false"/>
+<paragraph role="heading" id="hd_id3156267" xml-lang="en-US" level="2" l10n="U" oldref="232">State</paragraph>
+<paragraph role="paragraph" id="par_id3150928" xml-lang="en-US" l10n="U" oldref="231"><ahelp hid="HID_PROP_STATE">Select the selection state of the current control.</ahelp></paragraph>
+</section>
+<section id="Section14">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_STRICTFORMAT" id="bm_id3145350" localize="false"/>
+<paragraph role="heading" id="hd_id3148396" xml-lang="en-US" level="2" l10n="U" oldref="112">Strict format</paragraph>
+<paragraph role="paragraph" id="par_id3153042" xml-lang="en-US" l10n="U" oldref="113"><ahelp hid="HID_PROP_STRICTFORMAT">Select "Yes" to only allow valid characters to be entered in a numerical, currency, date, or time control.</ahelp></paragraph>
+</section>
+<section id="Section13">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_TABSTOP" id="bm_id3150664" localize="false"/>
+<paragraph role="heading" id="hd_id3149538" xml-lang="en-US" level="2" l10n="U" oldref="48">Tabstop</paragraph>
+<paragraph role="paragraph" id="par_id3148543" xml-lang="en-US" l10n="U" oldref="49"><ahelp hid="HID_PROP_TABSTOP">Select the focus behavior of the current control when using the <emph>Tab</emph> key.</ahelp></paragraph>
+<table id="tbl_id3148388">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3148776" xml-lang="en-US" l10n="U" oldref="178">Default</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3153547" xml-lang="en-US" l10n="U" oldref="179">Only input controls receive the focus when using the <emph>Tab </emph>key. Controls without input like caption controls are omitted.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3154632" xml-lang="en-US" l10n="U" oldref="52">No</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150475" xml-lang="en-US" l10n="U" oldref="53">When using the tab key focusing skips the control.</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3150690" xml-lang="en-US" l10n="U" oldref="50">Yes</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="paragraph" id="par_id3159106" xml-lang="en-US" l10n="U" oldref="51">The control can be selected with the Tab key.</paragraph>
+</tablecell>
+</tablerow>
+</table>
+
+</section>
+<section id="Section12">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_SHOWTHOUSANDSEP" id="bm_id3155079" localize="false"/>
+<paragraph role="heading" id="hd_id3145152" xml-lang="en-US" level="2" l10n="U" oldref="147">Thousands Separator</paragraph>
+<paragraph role="paragraph" id="par_id3155085" xml-lang="en-US" l10n="U" oldref="148"><ahelp hid="HID_PROP_SHOWTHOUSANDSEP">Select "Yes" to display thousands separator characters in numerical and currency controls.</ahelp></paragraph>
+</section>
+<section id="Section11">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_TIMEFORMAT" id="bm_id3147537" localize="false"/>
+<paragraph role="heading" id="hd_id3152816" xml-lang="en-US" level="2" l10n="U" oldref="168">Time Format</paragraph>
+<paragraph role="paragraph" id="par_id3145263" xml-lang="en-US" l10n="U" oldref="169"><ahelp hid="HID_PROP_TIMEFORMAT">Select the format to be used for time controls.</ahelp></paragraph>
+</section>
+<section id="Section10">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_TIMEMAX" id="bm_id3155986" localize="false"/>
+<paragraph role="heading" id="hd_id3153920" xml-lang="en-US" level="2" l10n="U" oldref="127">Time max.</paragraph>
+<paragraph role="paragraph" id="par_id3155401" xml-lang="en-US" l10n="U" oldref="128"><ahelp hid="HID_PROP_TIMEMAX">Specify the maximum time value for a time control.</ahelp></paragraph>
+</section>
+<section id="Section9">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_TIMEMIN" id="bm_id3156256" localize="false"/>
+<paragraph role="heading" id="hd_id3163818" xml-lang="en-US" level="2" l10n="U" oldref="135">Time min.</paragraph>
+<paragraph role="paragraph" id="par_id3156262" xml-lang="en-US" l10n="U" oldref="136"><ahelp hid="HID_PROP_TIMEMIN">Specify the minimum time value for a time control.</ahelp></paragraph>
+</section>
+<section id="Section8">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_TITLE" id="bm_id3153183" localize="false"/>
+<paragraph role="heading" id="hd_id3148638" xml-lang="en-US" level="2" l10n="U" oldref="266">Title</paragraph>
+<paragraph role="paragraph" id="par_id3147169" xml-lang="en-US" l10n="U" oldref="267"><ahelp hid="HID_PROP_TITLE">Specify the title of the dialog. Click the border of the dialog to select the dialog.</ahelp></paragraph>
+<paragraph role="paragraph" id="par_id3153716" xml-lang="en-US" l10n="U" oldref="55">
+<emph>Titles</emph> are only used for labeling a dialog and can only contain one line. Please note that if you work with macros, controls are only called through their <emph>Name</emph> property.</paragraph>
+</section>
+<section id="Section7">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_TRISTATE" id="bm_id3149819" localize="false"/>
+<paragraph role="heading" id="hd_id3152594" xml-lang="en-US" level="2" l10n="U" oldref="173">Tristate</paragraph>
+<paragraph role="paragraph" id="par_id3149825" xml-lang="en-US" l10n="U" oldref="174"><ahelp hid="HID_PROP_TRISTATE">Select "Yes" to allow a check box to have three states (checked, unchecked, and grayed out) instead of two (checked and unchecked).</ahelp></paragraph>
+</section>
+<section id="Section6">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_VALUE" id="bm_id3154309" localize="false"/>
+<paragraph role="heading" id="hd_id3150614" xml-lang="en-US" level="2" l10n="U" oldref="268">Value</paragraph>
+<paragraph role="paragraph" id="par_id3154315" xml-lang="en-US" l10n="U" oldref="269"><ahelp hid="HID_PROP_VALUE">Specify the value for the current control.</ahelp></paragraph>
+</section>
+<section id="Section5">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_VALUEMAX" id="bm_id3146066" localize="false"/>
+<paragraph role="heading" id="hd_id3152480" xml-lang="en-US" level="2" l10n="U" oldref="125">Value max.</paragraph>
+<paragraph role="paragraph" id="par_id3163823" xml-lang="en-US" l10n="U" oldref="126"><ahelp hid="HID_PROP_VALUEMAX">Specify the maximum value for the current control.</ahelp></paragraph>
+</section>
+<section id="Section4">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_VALUEMIN" id="bm_id3145082" localize="false"/>
+<paragraph role="heading" id="hd_id3149276" xml-lang="en-US" level="2" l10n="U" oldref="133">Value min.</paragraph>
+<paragraph role="paragraph" id="par_id3145088" xml-lang="en-US" l10n="U" oldref="134"><ahelp hid="HID_PROP_VALUEMIN">Specify the minimum value for the current control.</ahelp></paragraph>
+</section>
+<section id="Section3">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_VSCROLL" id="bm_id3149273" localize="false"/>
+<paragraph role="heading" id="hd_id3161656" xml-lang="en-US" level="2" l10n="U" oldref="58">Vertical scrollbar</paragraph>
+<paragraph role="paragraph" id="par_id3156188" xml-lang="en-US" l10n="U" oldref="59"><ahelp hid="HID_PROP_VSCROLL">Select "Yes" to display a vertical scrollbar for the current control.</ahelp></paragraph>
+</section>
+<section id="Section2">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_VISIBLESIZE" id="bm_id3152971" localize="false"/>
+<paragraph role="heading" id="hd_id3149712" xml-lang="en-US" level="2" l10n="U" oldref="234">Visible size</paragraph>
+<paragraph role="paragraph" id="par_id3149445" xml-lang="en-US" l10n="U" oldref="233"><ahelp hid="HID_PROP_VISIBLESIZE">Specify the length of the slider of a scrollbar control.</ahelp></paragraph>
+</section>
+<section id="Section1">
+<bookmark xml-lang="en-US" branch="hid/HID_PROP_WIDTH" id="bm_id3150968" localize="false"/>
+<paragraph role="heading" id="hd_id3152472" xml-lang="en-US" level="2" l10n="U" oldref="142">Width</paragraph>
+<paragraph role="paragraph" id="par_id3157963" xml-lang="en-US" l10n="U" oldref="143"><ahelp hid="HID_PROP_WIDTH">Specify the width of the current control or dialog.</ahelp></paragraph>
+</section>
+</sort>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/01170103.xhp b/helpcontent2/source/text/sbasic/shared/01170103.xhp
new file mode 100755
index 0000000000..a67264d3f2
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/01170103.xhp
@@ -0,0 +1,102 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared01170103xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Events</title>
+<filename>/text/sbasic/shared/01170103.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="ereignisse">
+ <paragraph id="hd_id3155506" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/01170103.xhp" name="Events">Events</link></paragraph>
+ <paragraph role="paragraph" id="par_id3146114" l10n="U" xml-lang="en-US" oldref="2">Define event assignments for the selected control or dialog. The available events depend on the type of control selected.</paragraph>
+ </section>
+ <bookmark branch="hid/HID_EVT_FOCUSGAINED" xml-lang="en-US" id="bm_id3156290"/><paragraph role="heading" level="2" id="hd_id3145387" l10n="U" xml-lang="en-US" oldref="16">When receiving focus</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3155090" xml-lang="en-US" oldref="17"><ahelp hid="HID_EVT_FOCUSGAINED" visibility="visible">This event takes place if a control receives the focus.</ahelp></paragraph>
+ <bookmark branch="hid/HID_EVT_FOCUSLOST" xml-lang="en-US" id="bm_id3151336"/><paragraph role="heading" level="2" id="hd_id3152892" l10n="U" xml-lang="en-US" oldref="18">When losing focus</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3153305" xml-lang="en-US" oldref="19"><ahelp hid="HID_EVT_FOCUSLOST" visibility="visible">This event takes place if a control loses the focus.</ahelp></paragraph>
+ <bookmark branch="hid/HID_EVT_KEYTYPED" xml-lang="en-US" id="bm_id3148597"/><paragraph role="heading" level="2" id="hd_id3152896" l10n="U" xml-lang="en-US" oldref="20">Key pressed</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3148837" xml-lang="en-US" oldref="21"><ahelp hid="HID_EVT_KEYTYPED" visibility="visible">This event occurs when the user presses any key while the control has the focus.</ahelp> </paragraph>
+ <bookmark branch="hid/HID_EVT_KEYUP" xml-lang="en-US" id="bm_id3151241"/><paragraph role="heading" level="2" id="hd_id3146869" l10n="U" xml-lang="en-US" oldref="43">Key released</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3155267" xml-lang="en-US" oldref="44"><ahelp hid="HID_EVT_KEYUP" visibility="visible">This event occurs when the user releases a key while the control has the focus.</ahelp></paragraph>
+ <bookmark branch="hid/HID_EVT_CHANGED" xml-lang="en-US" id="bm_id3149330"/><paragraph role="heading" level="2" id="hd_id3159096" l10n="U" xml-lang="en-US" oldref="41">Modified</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3156019" xml-lang="en-US" oldref="42"><ahelp hid="HID_EVT_CHANGED" visibility="visible">This event takes place, when the control loses the focus and the contents of the control were changed since it lost the focus.</ahelp></paragraph>
+ <bookmark branch="hid/HID_EVT_TEXTCHANGED" xml-lang="en-US" id="bm_id3156352"/><paragraph role="heading" level="2" id="hd_id3144508" l10n="U" xml-lang="en-US" oldref="10">Text modified</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3148608" xml-lang="en-US" oldref="11"><ahelp hid="HID_EVT_TEXTCHANGED" visibility="visible">This event takes place if you enter or modify a text in an input field.</ahelp></paragraph>
+ <bookmark branch="hid/HID_EVT_ITEMSTATECHANGED" xml-lang="en-US" id="bm_id3145756"/><paragraph role="heading" level="2" id="hd_id3159207" l10n="U" xml-lang="en-US" oldref="8">Item status changed</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3155097" xml-lang="en-US" oldref="9"><ahelp hid="HID_EVT_ITEMSTATECHANGED" visibility="visible">This event takes place if the status of the control field is changed, for example, from checked to unchecked.</ahelp></paragraph>
+ <bookmark branch="hid/HID_EVT_MOUSEENTERED" xml-lang="en-US" id="bm_id3149897"/><paragraph role="heading" level="2" id="hd_id3151304" l10n="U" xml-lang="en-US" oldref="26">Mouse inside</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3152871" xml-lang="en-US" oldref="27"><ahelp hid="HID_EVT_MOUSEENTERED" visibility="visible">This event takes place when the mouse enters the control.</ahelp></paragraph>
+ <bookmark branch="hid/HID_EVT_MOUSEDRAGGED" xml-lang="en-US" id="bm_id3155071"/><paragraph role="heading" level="2" id="hd_id3146778" l10n="U" xml-lang="en-US" oldref="30">Mouse moved while key pressed</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150403" xml-lang="en-US" oldref="31"><ahelp hid="HID_EVT_MOUSEDRAGGED" visibility="visible">This event takes place when the mouse is dragged while a key is pressed.</ahelp></paragraph>
+ <bookmark branch="hid/HID_EVT_MOUSEMOVED" xml-lang="en-US" id="bm_id3150893"/><paragraph role="heading" level="2" id="hd_id3150210" l10n="U" xml-lang="en-US" oldref="32">Mouse moved</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3149697" xml-lang="en-US" oldref="33"><ahelp hid="HID_EVT_MOUSEMOVED" visibility="visible">This event takes place when the mouse moves over the control.</ahelp></paragraph>
+ <bookmark branch="hid/HID_EVT_MOUSEPRESSED" xml-lang="en-US" id="bm_id3150046"/><paragraph role="heading" level="2" id="hd_id3145216" l10n="U" xml-lang="en-US" oldref="22">Mouse button pressed</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3155914" xml-lang="en-US" oldref="23"><ahelp hid="HID_EVT_MOUSEPRESSED" visibility="visible">This event takes place when the mouse button is pressed while the mouse pointer is on the control.</ahelp></paragraph>
+ <bookmark branch="hid/HID_EVT_MOUSERELEASED" xml-lang="en-US" id="bm_id3153488"/><paragraph role="heading" level="2" id="hd_id3148899" l10n="U" xml-lang="en-US" oldref="24">Mouse button released</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3153812" xml-lang="en-US" oldref="25"><ahelp hid="HID_EVT_MOUSERELEASED" visibility="visible">This event takes place when the mouse button is released while the mouse pointer is on the control.</ahelp></paragraph>
+ <bookmark branch="hid/HID_EVT_MOUSEEXITED" xml-lang="en-US" id="bm_id3153008"/><paragraph role="heading" level="2" id="hd_id3153556" l10n="U" xml-lang="en-US" oldref="28">Mouse outside</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3153013" xml-lang="en-US" oldref="29"><ahelp hid="HID_EVT_MOUSEEXITED" visibility="visible">This event takes place when the mouse leaves the control.</ahelp></paragraph>
+ <paragraph l10n="U" role="heading" level="2" id="hd_id3155759" oldref="45" xml-lang="en-US"><comment>38018</comment>While adjusting</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3156364" xml-lang="en-US" oldref="46"><ahelp hid="HID_EVT_MOUSEEXITED" visibility="visible">This event takes place when a scrollbar is being dragged.</ahelp></paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/02/11010000.xhp b/helpcontent2/source/text/sbasic/shared/02/11010000.xhp
new file mode 100644
index 0000000000..8d1368804e
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/02/11010000.xhp
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared0211010000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Library</title>
+<filename>/text/sbasic/shared/02/11010000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="bibliothek">
+ <bookmark branch="hid/.uno:LibSelector" xml-lang="en-US" id="bm_id3154230"/><paragraph id="hd_id3151100" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/02/11010000.xhp" name="Library">Library</link></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3154136" xml-lang="en-US" oldref="2"><ahelp hid=".uno:LibSelector" visibility="visible">Select the library that you want to edit.</ahelp> The first module of the library that you select is displayed in the Basic IDE.</paragraph>
+ </section>
+ <section id="sybibliothek">
+ <table id="tbl_id3156410">
+
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph l10n="E" role="paragraph" id="par_id3149095" xml-lang="en-US" oldref=""><image src="res/helpimg/feldalle.png" id="img_id3147576"><alt xml-lang="en-US" id="alt_id3147576">List box Library</alt></image></paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3147654" l10n="U" xml-lang="en-US" oldref="3">Library List Box</paragraph>
+ </tablecell>
+ </tablerow>
+
+ </table>
+ </section>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/02/11020000.xhp b/helpcontent2/source/text/sbasic/shared/02/11020000.xhp
new file mode 100644
index 0000000000..4691e4663a
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/02/11020000.xhp
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared0211020000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Compile</title>
+<filename>/text/sbasic/shared/02/11020000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="uebersetzen">
+ <bookmark branch="hid/.uno:CompileBasic" xml-lang="en-US" id="bm_id3154230"/><paragraph id="hd_id3148983" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/02/11020000.xhp" name="Compile">Compile</link></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3159201" xml-lang="en-US" oldref="2"><ahelp hid=".uno:CompileBasic" visibility="visible">Compiles the Basic macro.</ahelp> You need to compile a macro after you make changes to it, or if the macro uses single or procedure steps.</paragraph>
+ </section>
+ <section id="syuebersetzen">
+ <table id="tbl_id3147571">
+
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph l10n="E" role="paragraph" id="par_id3156426" xml-lang="en-US" oldref=""><image src="res/commandimagelist/sc_compilebasic.png" id="img_id3147576"><alt xml-lang="en-US" id="alt_id3147576">Icon</alt></image></paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3149399" l10n="U" xml-lang="en-US" oldref="3">Compile</paragraph>
+ </tablecell>
+ </tablerow>
+
+ </table>
+ </section>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/02/11030000.xhp b/helpcontent2/source/text/sbasic/shared/02/11030000.xhp
new file mode 100644
index 0000000000..eac86caf3b
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/02/11030000.xhp
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared0211030000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Run</title>
+<filename>/text/sbasic/shared/02/11030000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="ausfuehren">
+ <bookmark branch="hid/.uno:RunBasic" xml-lang="en-US" id="bm_id3150247"/><paragraph id="hd_id3153255" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/02/11030000.xhp" name="Run">Run</link></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3159201" xml-lang="en-US" oldref="2"><ahelp hid=".uno:RunBasic" visibility="visible">Runs the first macro of the current module.</ahelp></paragraph>
+ </section>
+ <section id="syausfuehren">
+ <table id="tbl_id3149346">
+
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph l10n="E" role="paragraph" id="par_id3156410" xml-lang="en-US" oldref=""><image src="sd/res/sound.png" id="img_id3153311"><alt xml-lang="en-US" id="alt_id3153311">Icon</alt></image></paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3154750" l10n="U" xml-lang="en-US" oldref="3">Run</paragraph>
+ </tablecell>
+ </tablerow>
+
+ </table>
+ </section>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/02/11040000.xhp b/helpcontent2/source/text/sbasic/shared/02/11040000.xhp
new file mode 100644
index 0000000000..8aa97bdcec
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/02/11040000.xhp
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared0211040000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Stop</title>
+<filename>/text/sbasic/shared/02/11040000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="anhalten">
+ <bookmark branch="index" xml-lang="en-US" id="bm_id3154863"><bookmark_value>macros; stopping</bookmark_value><bookmark_value>programs; stopping macros</bookmark_value><bookmark_value>stopping; macros</bookmark_value></bookmark><bookmark branch="hid/.uno:BasicStop" xml-lang="en-US" id="bm_id3149119"/><paragraph id="hd_id3154863" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/02/11040000.xhp" name="Stop">Stop</link></paragraph>
+ <paragraph id="par_id3147226" l10n="U" role="paragraph" oldref="2" xml-lang="en-US"><ahelp hid=".uno:BasicStop" visibility="visible">Stops running the current macro.</ahelp><switchinline select="sys"> <caseinline select="MAC"/> <defaultinline> You can also press Ctrl+Alt+S.</defaultinline> </switchinline></paragraph>
+ </section>
+ <section id="syanhalten">
+ <table id="tbl_id3147576">
+
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph l10n="E" role="paragraph" id="par_id3146797" xml-lang="en-US" oldref=""><image src="res/commandimagelist/sc_stop.png" id="img_id3148538"><alt xml-lang="en-US" id="alt_id3148538">Icon</alt></image></paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3150986" l10n="U" xml-lang="en-US" oldref="3">Stop</paragraph>
+ </tablecell>
+ </tablerow>
+
+ </table>
+ </section>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/02/11050000.xhp b/helpcontent2/source/text/sbasic/shared/02/11050000.xhp
new file mode 100644
index 0000000000..ced49cac62
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/02/11050000.xhp
@@ -0,0 +1,94 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared0211050000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Single Step</title>
+<filename>/text/sbasic/shared/02/11050000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="einzelschritt">
+ <bookmark branch="hid/.uno:BasicStepInto" xml-lang="en-US" id="bm_id3149495"/><paragraph id="hd_id3155934" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/02/11050000.xhp" name="Single Step">Single Step</link></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3146117" xml-lang="en-US" oldref="2"><ahelp hid=".uno:BasicStepInto" visibility="visible">Runs the macro and stops it after the next command.</ahelp></paragraph>
+ </section>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3152801" l10n="U" oldref="4">You can use this command in conjunction with the <link href="text/sbasic/shared/02/11060000.xhp" name="Watch">Watch</link> command to troubleshoot errors. </paragraph>
+ <section id="syeinzelschritt">
+ <table id="tbl_id3153527">
+
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph l10n="E" role="paragraph" id="par_id3157958" xml-lang="en-US" oldref=""><image src="res/commandimagelist/sc_basicstepinto.png" id="img_id3153345"><alt xml-lang="en-US" id="alt_id3153345">Icon</alt></image></paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3147573" l10n="U" xml-lang="en-US" oldref="3">Single Step</paragraph>
+ </tablecell>
+ </tablerow>
+
+ </table>
+ </section>
+ <embed href="text/shared/00/00000004.xhp#related"/>
+ <paragraph l10n="U" role="paragraph" id="par_id3149235" xml-lang="en-US" oldref="6"><link href="text/sbasic/shared/02/11080000.xhp" name="Procedure Step function">Procedure Step function</link></paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/02/11060000.xhp b/helpcontent2/source/text/sbasic/shared/02/11060000.xhp
new file mode 100644
index 0000000000..01399f223d
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/02/11060000.xhp
@@ -0,0 +1,94 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared0211060000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Procedure Step</title>
+<filename>/text/sbasic/shared/02/11060000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="prozedurschritt">
+ <bookmark branch="hid/.uno:BasicStepOver" xml-lang="en-US" id="bm_id3143284"/><paragraph id="hd_id3148520" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/02/11060000.xhp" name="Procedure Step">Procedure Step</link></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3152363" xml-lang="en-US" oldref="2"><ahelp hid=".uno:BasicStepOver" visibility="visible">Runs the macro and stops it after the next procedure.</ahelp></paragraph>
+ </section>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3153394" l10n="U" oldref="4">You can use this command in conjunction with the <link href="text/sbasic/shared/02/11060000.xhp" name="Watch">Watch</link> command to troubleshoot errors.</paragraph>
+ <section id="syprozedurschritt">
+ <table id="tbl_id3146957">
+
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph l10n="E" role="paragraph" id="par_id3147576" xml-lang="en-US" oldref=""><image src="res/commandimagelist/sc_basicstepover.png" id="img_id3143267"><alt xml-lang="en-US" id="alt_id3143267">Icon</alt></image></paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3154307" l10n="U" xml-lang="en-US" oldref="3">Procedure Step</paragraph>
+ </tablecell>
+ </tablerow>
+
+ </table>
+ </section>
+ <embed href="text/shared/00/00000004.xhp#related"/>
+ <paragraph l10n="U" role="paragraph" id="par_id3153562" xml-lang="en-US" oldref="6"><link href="text/sbasic/shared/02/11080000.xhp" name="Single Step function">Single Step function</link></paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/02/11070000.xhp b/helpcontent2/source/text/sbasic/shared/02/11070000.xhp
new file mode 100644
index 0000000000..9d0ac55959
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/02/11070000.xhp
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared0211070000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Breakpoint</title>
+<filename>/text/sbasic/shared/02/11070000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="haltepunkt">
+ <bookmark branch="hid/.uno:ToggleBreakPoint" xml-lang="en-US" id="bm_id3159224"/><paragraph id="hd_id3154863" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/02/11070000.xhp" name="Breakpoint">Breakpoint</link></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3155364" xml-lang="en-US" oldref="2"><ahelp hid=".uno:ToggleBreakPoint" visibility="visible">Inserts a breakpoint in the program line.</ahelp></paragraph>
+ </section>
+ <paragraph xml-lang="en-US" oldref="4" role="paragraph" id="par_id3149346" l10n="U">The breakpoint is inserted at the cursor position. Use a breakpoint to interrupt a program just before an error occurs. You can then troubleshoot the program by running it in <link href="text/sbasic/shared/02/11050000.xhp" name="Single Step">Single Step</link> mode until the error occurs. You can also use the<link href="text/sbasic/shared/02/11080000.xhp" name="Watch">Watch</link> icon to check the content of the relevant variables.</paragraph>
+ <section id="syhaltepunkt">
+ <table id="tbl_id3149095">
+
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph l10n="E" role="paragraph" id="par_id3156346" xml-lang="en-US" oldref=""><image src="res/commandimagelist/sc_managebreakpoints.png" id="img_id3152780"><alt xml-lang="en-US" id="alt_id3152780">Icon</alt></image></paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3149416" l10n="U" xml-lang="en-US" oldref="3">Breakpoint</paragraph>
+ </tablecell>
+ </tablerow>
+
+ </table>
+ </section>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/02/11080000.xhp b/helpcontent2/source/text/sbasic/shared/02/11080000.xhp
new file mode 100644
index 0000000000..c7a48cf7b9
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/02/11080000.xhp
@@ -0,0 +1,94 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared0211080000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Add Watch</title>
+<filename>/text/sbasic/shared/02/11080000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="beobachter">
+ <bookmark branch="hid/.uno:AddWatch" xml-lang="en-US" id="bm_id3157898"/><paragraph id="hd_id3154863" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/02/11080000.xhp" name="Add Watch">Add Watch</link></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3093440" xml-lang="en-US" oldref="2"><ahelp hid=".uno:AddWatch" visibility="visible">Click this icon to view the variables in a macro. The contents of the variable are displayed in a separate window.</ahelp></paragraph>
+ </section>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3147399" l10n="U" oldref="6">Click the name of a variable to select it, then click the <emph>Add Watch</emph> icon. The value that is assigned to the variable is displayed next to its name. This value is constantly updated.</paragraph>
+ <section id="sybeobachter">
+ <table id="tbl_id3143267">
+
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph l10n="E" role="paragraph" id="par_id3155892" xml-lang="en-US" oldref=""><image src="res/commandimagelist/sc_addwatch.png" id="img_id3147209"><alt xml-lang="en-US" id="alt_id3147209">Icon</alt></image></paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3150276" l10n="U" xml-lang="en-US" oldref="3">Add Watch</paragraph>
+ </tablecell>
+ </tablerow>
+
+ </table>
+ </section>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3159158" l10n="U" oldref="4">To remove the variable watch, select the variable in the Watch window, and then click on the <emph>Add Watch </emph>icon.</paragraph>
+ <bookmark branch="hid/HID_BASICIDE_REMOVEWATCH" xml-lang="en-US" id="bm_id3154142"/><paragraph l10n="U" role="paragraph" id="par_id3152350" xml-lang="en-US" oldref="5"><ahelp hid="HID_BASICIDE_REMOVEWATCH" visibility="hidden">Removes the watch for a selected variable.</ahelp></paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/02/11090000.xhp b/helpcontent2/source/text/sbasic/shared/02/11090000.xhp
new file mode 100644
index 0000000000..4a86a2d7f4
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/02/11090000.xhp
@@ -0,0 +1,111 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared0211090000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Object Catalog</title>
+<filename>/text/sbasic/shared/02/11090000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="okatalog">
+ <bookmark branch="hid/.uno:ObjectCatalog" xml-lang="en-US" id="bm_id3157898"/><paragraph id="hd_id3153255" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/02/11090000.xhp" name="Object Catalog">Object Catalog</link></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3151384" xml-lang="en-US" oldref="2"><ahelp visibility="visible" hid=".uno:ObjectCatalog">Opens the <emph>Objects</emph> dialog, where you can view Basic objects.</ahelp></paragraph>
+ </section>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3147576" l10n="U" oldref="15">Double click the name of a function or sub to load the module that contains that function or sub, and to position the cursor. Click the name of a module or dialog and then click the <emph>Show</emph> icon to load and display that module or dialog.</paragraph>
+ <section id="syobjektkatalog">
+ <table id="tbl_id3155892">
+
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph l10n="E" role="paragraph" id="par_id3148538" xml-lang="en-US" oldref=""><image src="res/commandimagelist/sc_objectcatalog.png" id="img_id3163803"><alt xml-lang="en-US" id="alt_id3163803">Icon</alt></image></paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3154515" l10n="U" xml-lang="en-US" oldref="3">Object Catalog</paragraph>
+ </tablecell>
+ </tablerow>
+
+ </table>
+ </section>
+ <bookmark branch="hid/HID_BASICIDE_OBJCAT_SHOW" xml-lang="en-US" id="bm_id3153541"/><paragraph role="heading" level="2" id="hd_id3155388" l10n="U" xml-lang="en-US" oldref="4">Show</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3155630" xml-lang="en-US" oldref="5"><ahelp hid="HID_BASICIDE_OBJCAT_SHOW" visibility="visible">Display the source text or dialog of a selected object.</ahelp></paragraph>
+ <table id="tbl_id3148685">
+
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph l10n="E" role="paragraph" id="par_id3153126" xml-lang="en-US" oldref=""><image src="basctl/res/im01.png" id="img_id3148474"><alt xml-lang="en-US" id="alt_id3148474">Icon</alt></image></paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3147560" l10n="U" xml-lang="en-US" oldref="6">Show</paragraph>
+ </tablecell>
+ </tablerow>
+
+ </table>
+ <bookmark branch="hid/HID_BASICIDE_OBJECTCAT" xml-lang="en-US" id="bm_id3148664"/><paragraph role="heading" level="2" id="hd_id3146794" l10n="U" xml-lang="en-US" oldref="13">Window Area</paragraph>
+ <paragraph l10n="U" xml-lang="en-US" oldref="14" role="paragraph" id="par_id3149655"><ahelp hid="HID_BASICIDE_OBJECTCAT" visibility="visible">Displays a hierarchical view of the current $[officename] macro libraries, modules, and dialogs.</ahelp>To display the contents of an item in the window, double-click its name or select the name and click the <emph>Show</emph> icon.<comment>doubleclick doesnt work on modules and dialogs</comment></paragraph>
+
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/02/11100000.xhp b/helpcontent2/source/text/sbasic/shared/02/11100000.xhp
new file mode 100644
index 0000000000..5663db7553
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/02/11100000.xhp
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared0211100000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Macros</title>
+<filename>/text/sbasic/shared/02/11100000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="makros">
+ <bookmark branch="hid/.uno:ChooseMacro" xml-lang="en-US" id="bm_id3155364"/><paragraph id="hd_id3156183" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/02/11100000.xhp" name="Macros">Macros</link></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3147399" xml-lang="en-US" oldref="2"><ahelp visibility="visible" hid=".uno:ChooseMacro">Opens the <emph>Macro</emph> dialog.</ahelp></paragraph>
+ </section>
+ <section id="symakros">
+ <table id="tbl_id3146957">
+
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph l10n="E" role="paragraph" id="par_id3148538" xml-lang="en-US" oldref=""><image src="res/commandimagelist/sc_choosemacro.png" id="img_id3153662"><alt xml-lang="en-US" id="alt_id3153662">Icon</alt></image></paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3153542" l10n="U" xml-lang="en-US" oldref="3">Macros</paragraph>
+ </tablecell>
+ </tablerow>
+
+ </table>
+ </section>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/02/11110000.xhp b/helpcontent2/source/text/sbasic/shared/02/11110000.xhp
new file mode 100644
index 0000000000..8c4269a49d
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/02/11110000.xhp
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared0211110000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Modules</title>
+<filename>/text/sbasic/shared/02/11110000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="module">
+ <bookmark branch="hid/.uno:ModuleDialog" xml-lang="en-US" id="bm_id3157898"/><paragraph id="hd_id3148520" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/02/11110000.xhp" name="Modules">Modules</link></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3156414" xml-lang="en-US" oldref="2"><ahelp visibility="visible" hid=".uno:ModuleDialog">Click here to open the <link href="text/sbasic/shared/01/06130000.xhp" name="Macro Organizer"><emph>Macro Organizer</emph></link> dialog.</ahelp></paragraph>
+ </section>
+ <section id="symodule">
+ <table id="tbl_id3153311">
+
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph l10n="E" role="paragraph" id="par_id3157958" xml-lang="en-US" oldref=""><image src="res/commandimagelist/sc_moduledialog.png" id="img_id3155535"><alt xml-lang="en-US" id="alt_id3155535">Icon</alt></image></paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3145383" l10n="U" xml-lang="en-US" oldref="3">Modules</paragraph>
+ </tablecell>
+ </tablerow>
+
+ </table>
+ </section>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/02/11120000.xhp b/helpcontent2/source/text/sbasic/shared/02/11120000.xhp
new file mode 100644
index 0000000000..b8d8eefedb
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/02/11120000.xhp
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared0211120000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Find Parentheses</title>
+<filename>/text/sbasic/shared/02/11120000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="klammer">
+ <bookmark branch="hid/.uno:MatchGroup" xml-lang="en-US" id="bm_id3148520"/><paragraph id="hd_id3149497" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/02/11120000.xhp" name="Find Parentheses">Find Parentheses</link></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3155150" xml-lang="en-US" oldref="2"><ahelp hid=".uno:MatchGroup" visibility="visible">Highlights the text that is enclosed by two corresponding brackets. Place the text cursor in front of an opening or closing bracket, and then click this icon.</ahelp></paragraph>
+ </section>
+ <section id="syklammer">
+ <table id="tbl_id3147226">
+
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph l10n="E" role="paragraph" id="par_id3149182" xml-lang="en-US" oldref=""><image src="res/commandimagelist/sc_matchgroup.png" id="img_id3155892"><alt xml-lang="en-US" id="alt_id3155892">Icon</alt></image></paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3147276" l10n="U" xml-lang="en-US" oldref="3">Find Parentheses</paragraph>
+ </tablecell>
+ </tablerow>
+
+ </table>
+ </section>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/02/11140000.xhp b/helpcontent2/source/text/sbasic/shared/02/11140000.xhp
new file mode 100644
index 0000000000..7a3fca15ab
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/02/11140000.xhp
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared0211140000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Insert Source Text</title>
+<filename>/text/sbasic/shared/02/11140000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="laden">
+ <bookmark branch="hid/.uno:LoadBasic" xml-lang="en-US" id="bm_id3147446"/><paragraph id="hd_id3154044" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/02/11140000.xhp" name="Insert Source Text">Insert Source Text</link></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150702" xml-lang="en-US" oldref="2"><ahelp hid=".uno:LoadBasic" visibility="visible">Opens the Basic source text in the Basic IDE window.</ahelp></paragraph>
+ </section>
+ <paragraph xml-lang="en-US" oldref="3" role="paragraph" id="par_id3150445" l10n="U">Place the cursor in the code where you want to insert the source text, and then click the <emph>Insert source text</emph> icon. Locate the file that contains the Basic source text that you want to insert, and then click <emph>Open</emph>.</paragraph>
+ <section id="syladen">
+ <table id="tbl_id3150247">
+
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph l10n="E" role="paragraph" id="par_id3145136" xml-lang="en-US" oldref=""><image src="res/commandimagelist/sc_open.png" id="img_id3147571"><alt xml-lang="en-US" id="alt_id3147571">Icon</alt></image></paragraph>
+
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3145346" l10n="U" xml-lang="en-US" oldref="4">Insert source text</paragraph>
+ </tablecell>
+ </tablerow>
+
+ </table>
+ </section>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/02/11150000.xhp b/helpcontent2/source/text/sbasic/shared/02/11150000.xhp
new file mode 100644
index 0000000000..b64fb823ca
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/02/11150000.xhp
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared0211150000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Save Source As</title>
+<filename>/text/sbasic/shared/02/11150000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="speichern">
+ <bookmark branch="hid/.uno:SaveBasicAs" xml-lang="en-US" id="bm_id3155150"/><paragraph id="hd_id3149497" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/02/11150000.xhp" name="Save Source As">Save Source As</link></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3147261" xml-lang="en-US" oldref="3"><ahelp hid=".uno:SaveBasicAs" visibility="visible">Saves the source code of the selected Basic macro.</ahelp></paragraph>
+ </section>
+ <section id="syspeichern">
+ <table id="tbl_id3155555">
+
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph l10n="E" role="paragraph" id="par_id3145071" xml-lang="en-US" oldref=""><image src="res/commandimagelist/sc_save.png" id="img_id3149182"><alt xml-lang="en-US" id="alt_id3149182">Icon</alt></image></paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3151110" l10n="U" xml-lang="en-US" oldref="2">Save Source As</paragraph>
+ </tablecell>
+ </tablerow>
+
+ </table>
+ </section>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/02/11160000.xhp b/helpcontent2/source/text/sbasic/shared/02/11160000.xhp
new file mode 100644
index 0000000000..f4b0accde2
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/02/11160000.xhp
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared0211160000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Step Out</title>
+<filename>/text/sbasic/shared/02/11160000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="ruecksprung">
+ <bookmark branch="hid/.uno:BasicStepOut" xml-lang="en-US" id="bm_id3153089"/><paragraph id="hd_id3148983" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/02/11160000.xhp" name="Step Out">Step Out</link></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3157898" xml-lang="en-US" oldref="2"><ahelp hid=".uno:BasicStepOut" visibility="visible">Jumps back to the previous routine in the current macro.</ahelp></paragraph>
+ </section>
+ <section id="syruecksprung">
+ <table id="tbl_id3147226">
+
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph l10n="E" role="paragraph" id="par_id3156410" xml-lang="en-US" oldref=""><image src="res/commandimagelist/sc_basicstepout.png" id="img_id3159233"><alt xml-lang="en-US" id="alt_id3159233">Icon</alt></image></paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3158421" l10n="U" xml-lang="en-US" oldref="3">Step Out</paragraph>
+ </tablecell>
+ </tablerow>
+
+ </table>
+ </section>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/02/11170000.xhp b/helpcontent2/source/text/sbasic/shared/02/11170000.xhp
new file mode 100644
index 0000000000..2ff8d95fab
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/02/11170000.xhp
@@ -0,0 +1,93 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared0211170000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">30810Manage Breakpoints</title>
+<filename>/text/sbasic/shared/02/11170000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="manage_breakpoints">
+ <paragraph id="hd_id3156183" l10n="U" role="heading" level="1" xml-lang="en-US" oldref="1"><comment>30810</comment><link href="text/sbasic/shared/02/11170000.xhp" name="Manage Breakpoints">Manage Breakpoints</link></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3152363" xml-lang="en-US" oldref="2"><ahelp hid="" visibility="visible">Calls a dialog to manage breakpoints.</ahelp></paragraph>
+ </section>
+ <section id="sybreakpoints">
+ <table id="tbl_id3153750">
+
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph l10n="E" role="paragraph" id="par_id3143267" xml-lang="en-US" oldref=""><image src="res/sc30810.png" id="img_id3155339"><alt xml-lang="en-US" id="alt_id3155339">Icon</alt></image></paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3145383" l10n="U" xml-lang="en-US" oldref="3">Manage Breakpoints</paragraph>
+ </tablecell>
+ </tablerow>
+
+ </table>
+ </section>
+ <embed href="text/shared/00/00000004.xhp#related"/>
+ <paragraph l10n="U" role="paragraph" id="par_id3154897" xml-lang="en-US" oldref="4"><link name="Manage Breakpoints dialog" href="text/sbasic/shared/01050300.xhp"><emph>Manage Breakpoints</emph> dialog</link></paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/02/20000000.xhp b/helpcontent2/source/text/sbasic/shared/02/20000000.xhp
new file mode 100644
index 0000000000..1371704f62
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/02/20000000.xhp
@@ -0,0 +1,473 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************-->
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared0220000000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Controls</title>
+<filename>/text/sbasic/shared/02/20000000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="kontrollfelder">
+ <bookmark branch="index" xml-lang="en-US" id="bm_id3150402"><bookmark_value>controls; in dialog editor</bookmark_value><bookmark_value>dialog editor; controls</bookmark_value></bookmark><bookmark branch="hid/.uno:ChooseControls" xml-lang="en-US" id="bm_id3143206"/><paragraph id="hd_id3150402" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/02/20000000.xhp" name="Controls">Controls</link></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3147000" xml-lang="en-US" oldref="2"><ahelp visibility="visible" hid=".uno:ChooseControls">Opens the <emph>Controls</emph> floating toolbar.</ahelp></paragraph>
+ </section>
+ <section id="sykontrollfelder">
+ <table id="tbl_id3153539">
+
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph l10n="E" role="paragraph" id="par_id3147226" xml-lang="en-US" oldref=""><image src="res/sc10144.png" id="img_id3147571"><alt xml-lang="en-US" id="alt_id3147571">Icon</alt></image></paragraph>
+
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3153749" l10n="U" xml-lang="en-US" oldref="3">Controls</paragraph>
+ </tablecell>
+ </tablerow>
+
+ </table>
+ </section>
+ <list type="unordered">
+ <listitem>
+ <paragraph xml-lang="en-US" role="listitem" id="par_id3157958" l10n="U" oldref="5">In edit mode, double-click a control to open the <link href="text/sbasic/shared/01170100.xhp" name="properties dialog">properties dialog</link>.</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph role="listitem" id="par_id3148538" l10n="U" xml-lang="en-US" oldref="6">In edit mode, you can also right-click a control and choose the cut, copy, and paste command.</paragraph>
+ </listitem>
+ </list>
+ <bookmark id="bm_id3148473" xml-lang="en-US" branch="index"><bookmark_value>push buttons; control in dialog editor</bookmark_value><bookmark_value>controls; push buttons</bookmark_value><bookmark_value>icons; controls</bookmark_value><bookmark_value>controls; icons</bookmark_value><bookmark_value>buttons; controls</bookmark_value><bookmark_value>controls; buttons</bookmark_value></bookmark><bookmark branch="hid/.uno:InsertPushbutton" xml-lang="en-US" id="bm_id3153561"/><paragraph role="heading" level="2" id="hd_id3148473" l10n="U" xml-lang="en-US" oldref="7">Button</paragraph>
+ <table id="tbl_id3155628">
+
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph l10n="E" role="paragraph" id="par_id3153824" xml-lang="en-US" oldref=""><image src="res/commandimagelist/sc_insertpushbutton.png" id="img_id3157909"><alt xml-lang="en-US" id="alt_id3157909">Icon</alt></image></paragraph>
+
+ </tablecell>
+ <tablecell>
+ <paragraph l10n="U" role="paragraph" id="par_id3147530" xml-lang="en-US" oldref="8"><ahelp hid=".uno:InsertPushbutton" visibility="visible">Adds a command button.</ahelp> You can use a command button to execute a command for a defined event, such as a mouse click.</paragraph>
+ <paragraph role="paragraph" id="par_id3154923" l10n="U" xml-lang="en-US" oldref="9">If you want, you can add text or a graphic to the button.</paragraph>
+ </tablecell>
+ </tablerow>
+
+ </table>
+ <bookmark branch="index" xml-lang="en-US" id="bm_id3148550"><bookmark_value>image controls; control</bookmark_value><bookmark_value>controls; image control</bookmark_value></bookmark><bookmark branch="hid/.uno:InsertImageControl" xml-lang="en-US" id="bm_id3147304"/><paragraph role="heading" level="2" id="hd_id3148550" l10n="U" xml-lang="en-US" oldref="10">Image Control</paragraph>
+ <table id="tbl_id3150541">
+
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph l10n="E" role="paragraph" id="par_id3154138" xml-lang="en-US" oldref=""><image src="res/commandimagelist/sc_objectcatalog.png" id="img_id3144760"><alt xml-lang="en-US" id="alt_id3144760">Icon</alt></image></paragraph>
+
+ </tablecell>
+ <tablecell>
+ <paragraph l10n="U" role="paragraph" id="par_id3151042" xml-lang="en-US" oldref="11"><ahelp hid=".uno:InsertImageControl" visibility="visible">Adds a control that displays a graphic.</ahelp></paragraph>
+ </tablecell>
+ </tablerow>
+
+ </table>
+ <bookmark branch="index" xml-lang="en-US" id="bm_id3150447"><bookmark_value>check boxes; control</bookmark_value><bookmark_value>controls; check box</bookmark_value></bookmark><bookmark branch="hid/.uno:Checkbox" xml-lang="en-US" id="bm_id3156424"/><paragraph role="heading" level="2" id="hd_id3150447" l10n="U" xml-lang="en-US" oldref="12">Check Box</paragraph>
+ <table id="tbl_id3145607">
+
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph l10n="E" role="paragraph" id="par_id3155131" xml-lang="en-US" oldref=""><image src="res/sc10596.png" id="img_id3150439"><alt xml-lang="en-US" id="alt_id3150439">Icon</alt></image></paragraph>
+
+ </tablecell>
+ <tablecell>
+ <paragraph l10n="U" role="paragraph" id="par_id3147317" xml-lang="en-US" oldref="13"><ahelp hid=".uno:Checkbox" visibility="visible">Adds a check box that you can use to turn a function on or off.</ahelp></paragraph>
+ </tablecell>
+ </tablerow>
+
+ </table>
+ <bookmark id="bm_id3150486" branch="index" xml-lang="en-US"><bookmark_value>radio buttons; control</bookmark_value><bookmark_value>controls; radio button</bookmark_value><bookmark_value>option buttons; control</bookmark_value><bookmark_value>controls; option button</bookmark_value></bookmark><bookmark branch="hid/.uno:Radiobutton" xml-lang="en-US" id="bm_id3147215"/><paragraph role="heading" level="2" id="hd_id3150486" l10n="U" xml-lang="en-US" oldref="14">Option Button</paragraph>
+ <table id="tbl_id3151118">
+
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph l10n="E" role="paragraph" id="par_id3155856" xml-lang="en-US" oldref=""><image src="res/sc10147.png" id="img_id3146921"><alt xml-lang="en-US" id="alt_id3146921">Icon</alt></image></paragraph>
+
+ </tablecell>
+ <tablecell>
+ <paragraph l10n="U" role="paragraph" id="par_id3153575" xml-lang="en-US" oldref="15"><ahelp hid=".uno:Radiobutton" visibility="visible">Adds a button that allows a user to select from a number of options.</ahelp> Grouped option buttons must have consecutive tab indices. They are commonly encircled by a group box. If you have two groups of option buttons, you must insert a tab index between the tab indices of the two groups on the group frame.</paragraph>
+ </tablecell>
+ </tablerow>
+
+ </table>
+ <bookmark id="bm_id3154729" xml-lang="en-US" branch="index"><bookmark_value>fixed text; control</bookmark_value><bookmark_value>controls; fixed text</bookmark_value><bookmark_value>text; control</bookmark_value><bookmark_value>controls; text</bookmark_value><bookmark_value>label fields; control</bookmark_value><bookmark_value>controls; label field</bookmark_value></bookmark><bookmark branch="hid/.uno:InsertFixedText" xml-lang="en-US" id="bm_id3156285"/><paragraph role="heading" level="2" id="hd_id3154729" l10n="U" xml-lang="en-US" oldref="16">Label Field</paragraph>
+ <table id="tbl_id3149417">
+
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph l10n="E" role="paragraph" id="par_id3149300" xml-lang="en-US" oldref=""><image src="res/commandimagelist/sc_insertfixedtext.png" id="img_id3153415"><alt xml-lang="en-US" id="alt_id3153415">Icon</alt></image></paragraph>
+
+ </tablecell>
+ <tablecell>
+ <paragraph l10n="U" role="paragraph" id="par_id3156181" xml-lang="en-US" oldref="17"><ahelp hid=".uno:InsertFixedText" visibility="visible">Adds a field for displaying text labels.</ahelp> These labels are only for displaying predefined text, and not for entering text.</paragraph>
+ </tablecell>
+ </tablerow>
+
+ </table>
+ <bookmark id="bm_id3149123" branch="index" xml-lang="en-US"><bookmark_value>editing; control</bookmark_value><bookmark_value>controls; text edit</bookmark_value><bookmark_value>text boxes; control</bookmark_value><bookmark_value>controls; text box</bookmark_value></bookmark><bookmark branch="hid/.uno:InsertEdit" xml-lang="en-US" id="bm_id3154163"/><paragraph role="heading" level="2" id="hd_id3149123" l10n="U" xml-lang="en-US" oldref="18">Text Box</paragraph>
+ <table id="tbl_id3156278">
+
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph l10n="E" role="paragraph" id="par_id3153766" xml-lang="en-US" oldref=""><image src="res/commandimagelist/sc_edit.png" id="img_id3148996"><alt xml-lang="en-US" id="alt_id3148996">Icon</alt></image></paragraph>
+
+ </tablecell>
+ <tablecell>
+ <paragraph l10n="U" role="paragraph" id="par_id3153712" xml-lang="en-US" oldref="19"><ahelp hid=".uno:InsertEdit" visibility="visible">Adds an input box where you can enter and edit text.</ahelp></paragraph>
+ </tablecell>
+ </tablerow>
+
+ </table>
+ <bookmark branch="index" xml-lang="en-US" id="bm_id3154253"><bookmark_value>list boxes; control</bookmark_value><bookmark_value>controls; list box</bookmark_value></bookmark><bookmark branch="hid/.uno:InsertListbox" xml-lang="en-US" id="bm_id3154704"/><paragraph role="heading" level="2" id="hd_id3154253" l10n="U" xml-lang="en-US" oldref="20">List Box</paragraph>
+ <table id="tbl_id3149565">
+
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph l10n="E" role="paragraph" id="par_id3155959" xml-lang="en-US" oldref=""><image src="res/commandimagelist/sc_listbox.png" id="img_id3163808"><alt xml-lang="en-US" id="alt_id3163808">Icon</alt></image></paragraph>
+
+ </tablecell>
+ <tablecell>
+ <paragraph l10n="U" role="paragraph" id="par_id3155176" xml-lang="en-US" oldref="21"><ahelp hid=".uno:InsertListbox" visibility="visible">Adds a box where you can click an entry on a list.</ahelp></paragraph>
+ </tablecell>
+ </tablerow>
+
+ </table>
+ <bookmark branch="index" xml-lang="en-US" id="bm_id3150644"><bookmark_value>combo boxes; control</bookmark_value><bookmark_value>controls; combo box</bookmark_value></bookmark><bookmark branch="hid/.uno:Combobox" xml-lang="en-US" id="bm_id3147003"/><paragraph role="heading" level="2" id="hd_id3150644" l10n="U" xml-lang="en-US" oldref="22">Combo Box</paragraph>
+ <table id="tbl_id3155606">
+
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph l10n="E" role="paragraph" id="par_id3148418" xml-lang="en-US" oldref=""><image src="res/commandimagelist/sc_combobox.png" id="img_id3153200"><alt xml-lang="en-US" id="alt_id3153200">Icon</alt></image></paragraph>
+
+ </tablecell>
+ <tablecell>
+ <paragraph l10n="U" role="paragraph" id="par_id3154199" xml-lang="en-US" oldref="23"><ahelp hid=".uno:Combobox" visibility="visible">Adds a combo box. A combo box is a one line list box that a user can click, and then choose an entry from the list.</ahelp> If you want, you can make the entries in the combo box "read only".</paragraph>
+ </tablecell>
+ </tablerow>
+
+ </table>
+ <bookmark id="bm_id3154585" branch="index" xml-lang="en-US"><bookmark_value>scroll bars; control</bookmark_value><bookmark_value>controls; scrollbar</bookmark_value><bookmark_value>horizontal scrollbars; control</bookmark_value><bookmark_value>controls; horizontal scrollbar</bookmark_value></bookmark><bookmark branch="hid/.uno:HScrollbar" xml-lang="en-US" id="bm_id3156139"/><paragraph role="heading" level="2" id="hd_id3154585" l10n="U" xml-lang="en-US" oldref="24">Horizontal Scrollbar</paragraph>
+ <table id="tbl_id3152580">
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph l10n="E" role="paragraph" id="par_id3153781" xml-lang="en-US" oldref=""><image src="res/commandimagelist/sc_hscrollbar.png" id="img_id3149530"><alt xml-lang="en-US" id="alt_id3149530">Icon</alt></image></paragraph>
+
+ </tablecell>
+ <tablecell>
+ <paragraph l10n="U" role="paragraph" id="par_id3153232" xml-lang="en-US" oldref="25"><ahelp hid=".uno:HScrollbar" visibility="visible">Adds a horizontal scrollbar to the dialog.</ahelp></paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+ <bookmark branch="index" xml-lang="en-US" id="bm_id3154119"><bookmark_value>vertical scrollbars; control</bookmark_value><bookmark_value>controls; vertical scrollbar</bookmark_value></bookmark><bookmark branch="hid/.uno:VScrollbar" xml-lang="en-US" id="bm_id3154658"/><paragraph role="heading" level="2" id="hd_id3154119" l10n="U" xml-lang="en-US" oldref="26">Vertical Scrollbar</paragraph>
+ <table id="tbl_id3145132">
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph l10n="E" role="paragraph" id="par_id3150515" xml-lang="en-US" oldref=""><image src="res/commandimagelist/sc_vscrollbar.png" id="img_id3150203"><alt xml-lang="en-US" id="alt_id3150203">Icon</alt></image></paragraph>
+
+ </tablecell>
+ <tablecell>
+ <paragraph l10n="U" role="paragraph" id="par_id3155376" xml-lang="en-US" oldref="27"><ahelp hid=".uno:VScrollbar" visibility="visible">Adds a vertical scrollbar to the dialog.</ahelp></paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+ <bookmark branch="index" xml-lang="en-US" id="bm_id3150313"><bookmark_value>group boxes; control</bookmark_value><bookmark_value>controls; group box</bookmark_value></bookmark><bookmark branch="hid/.uno:Groupbox" xml-lang="en-US" id="bm_id3146981"/><paragraph role="heading" level="2" id="hd_id3150313" l10n="U" xml-lang="en-US" oldref="28">Group Box</paragraph>
+ <table id="tbl_id3154261">
+
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph l10n="E" role="paragraph" id="par_id3151184" xml-lang="en-US" oldref=""><image src="res/commandimagelist/sc_groupbox.png" id="img_id3151335"><alt xml-lang="en-US" id="alt_id3151335">Icon</alt></image></paragraph>
+
+ </tablecell>
+ <tablecell>
+ <paragraph l10n="U" role="paragraph" id="par_id3159622" xml-lang="en-US" oldref="29"><ahelp hid=".uno:Groupbox" visibility="visible">Adds a frame that you can use to visually group similar controls, such as option buttons.</ahelp></paragraph>
+ </tablecell>
+ </tablerow>
+
+ </table>
+ <paragraph role="note" id="par_id3148820" l10n="U" xml-lang="en-US" oldref="30">To define two different groups of option buttons, ensure that the tab index of the group frame is between the tab indices of the two groups.</paragraph>
+ <bookmark branch="index" xml-lang="en-US" id="bm_id3149330"><bookmark_value>progress bars; control</bookmark_value><bookmark_value>controls; progress bar</bookmark_value></bookmark><bookmark branch="hid/.uno:ProgressBar" xml-lang="en-US" id="bm_id3149587"/><paragraph role="heading" level="2" id="hd_id3149330" l10n="U" xml-lang="en-US" oldref="31">Progress Bar</paragraph>
+ <table id="tbl_id3148606">
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph l10n="E" role="paragraph" id="par_id3159093" xml-lang="en-US" oldref=""><image src="res/commandimagelist/sc_progressbar.png" id="img_id3150318"><alt xml-lang="en-US" id="alt_id3150318">Icon</alt></image></paragraph>
+
+ </tablecell>
+ <tablecell>
+ <paragraph l10n="U" role="paragraph" id="par_id3157979" xml-lang="en-US" oldref="32"><ahelp hid=".uno:ProgressBar" visibility="visible">Adds a progress bar to the dialog.</ahelp></paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+ <bookmark id="bm_id3145654" xml-lang="en-US" branch="index"><bookmark_value>fixed lines; control</bookmark_value><bookmark_value>controls; fixed line</bookmark_value><bookmark_value>horizontal lines; control</bookmark_value><bookmark_value>controls; horizontal line</bookmark_value><bookmark_value>lines; control</bookmark_value><bookmark_value>controls; line</bookmark_value></bookmark><bookmark branch="hid/.uno:HFixedLine" xml-lang="en-US" id="bm_id3154961"/><paragraph role="heading" level="2" id="hd_id3145654" l10n="U" xml-lang="en-US" oldref="33">Horizontal Line</paragraph>
+ <table id="tbl_id3154596">
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph l10n="E" role="paragraph" id="par_id3150888" xml-lang="en-US" oldref=""><image src="res/commandimagelist/sc_linedraft.png" id="img_id3152872"><alt xml-lang="en-US" id="alt_id3152872">Icon</alt></image></paragraph>
+
+ </tablecell>
+ <tablecell>
+ <paragraph l10n="U" role="paragraph" id="par_id3151000" xml-lang="en-US" oldref="34"><ahelp hid=".uno:HFixedLine" visibility="visible">Adds a horizontal line to the dialog.</ahelp></paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+ <bookmark branch="index" xml-lang="en-US" id="bm_id3155095"><bookmark_value>vertical lines; control</bookmark_value><bookmark_value>controls; vertical line</bookmark_value></bookmark><bookmark branch="hid/.uno:VFixedLine" xml-lang="en-US" id="bm_id3153972"/><paragraph role="heading" level="2" id="hd_id3155095" l10n="U" xml-lang="en-US" oldref="35">Vertical Line</paragraph>
+ <table id="tbl_id3148970">
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph l10n="E" role="paragraph" id="par_id3154913" xml-lang="en-US" oldref=""><image src="res/sc10929.png" id="img_id3153249"><alt xml-lang="en-US" id="alt_id3153249">Icon</alt></image></paragraph>
+
+ </tablecell>
+ <tablecell>
+ <paragraph l10n="U" role="paragraph" id="par_id3159203" xml-lang="en-US" oldref="36"><ahelp hid=".uno:VFixedLine" visibility="visible">Adds a vertical line to the dialog.</ahelp></paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+ <bookmark branch="index" xml-lang="en-US" id="bm_id3154540"><bookmark_value>date fields; control</bookmark_value><bookmark_value>controls; date field</bookmark_value></bookmark><bookmark branch="hid/.uno:AddDateField" xml-lang="en-US" id="bm_id3154606"/><paragraph role="heading" level="2" id="hd_id3154540" l10n="U" xml-lang="en-US" oldref="37">Date Field</paragraph>
+ <table id="tbl_id3154649">
+
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph l10n="E" role="paragraph" id="par_id3148901" xml-lang="en-US" oldref=""><image src="res/commandimagelist/sc_adddatefield.png" id="img_id3151010"><alt xml-lang="en-US" id="alt_id3151010">Icon</alt></image></paragraph>
+
+ </tablecell>
+ <tablecell>
+ <paragraph l10n="U" role="paragraph" id="par_id3154214" xml-lang="en-US" oldref="38"><ahelp hid=".uno:AddDateField" visibility="visible">Adds a date field.</ahelp></paragraph>
+ </tablecell>
+ </tablerow>
+
+ </table>
+ <paragraph role="paragraph" id="par_id3150046" l10n="U" xml-lang="en-US" oldref="39">If you assign the "dropdown" property to the date field, a user can drop down a calendar to select a date.</paragraph>
+ <bookmark branch="index" xml-lang="en-US" id="bm_id3151126"><bookmark_value>time fields; control</bookmark_value><bookmark_value>controls; time field</bookmark_value></bookmark><bookmark branch="hid/SID_INSERT_TIMEFIELD" xml-lang="en-US" id="bm_id3152928"/><paragraph role="heading" level="2" id="hd_id3151126" l10n="U" xml-lang="en-US" oldref="40">Time Field</paragraph>
+ <table id="tbl_id3147514">
+
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph l10n="E" role="paragraph" id="par_id3154338" xml-lang="en-US" oldref=""><image src="res/commandimagelist/sc_timefield.png" id="img_id3147077"><alt xml-lang="en-US" id="alt_id3147077">Icon</alt></image></paragraph>
+
+ </tablecell>
+ <tablecell>
+ <paragraph l10n="U" role="paragraph" id="par_id3151191" xml-lang="en-US" oldref="41"><ahelp hid="SID_INSERT_TIMEFIELD" visibility="visible">Adds a time field.</ahelp></paragraph>
+ </tablecell>
+ </tablerow>
+
+ </table>
+ <bookmark branch="index" xml-lang="en-US" id="bm_id3154733"><bookmark_value>numerical fields; control</bookmark_value><bookmark_value>controls; numerical field</bookmark_value></bookmark><bookmark branch="hid/.uno:InsertNumericField" xml-lang="en-US" id="bm_id3154170"/><paragraph role="heading" level="2" id="hd_id3154733" l10n="U" xml-lang="en-US" oldref="42">Numeric Field</paragraph>
+ <table id="tbl_id3156367">
+
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph l10n="E" role="paragraph" id="par_id3146107" xml-lang="en-US" oldref=""><image src="res/commandimagelist/sc_insertnumericfield.png" id="img_id3147499"><alt xml-lang="en-US" id="alt_id3147499">Icon</alt></image></paragraph>
+
+ </tablecell>
+ <tablecell>
+ <paragraph l10n="U" role="paragraph" id="par_id3147244" xml-lang="en-US" oldref="43"><ahelp hid=".uno:InsertNumericField" visibility="visible">Adds a numeric field.</ahelp></paragraph>
+ </tablecell>
+ </tablerow>
+
+ </table>
+ <bookmark branch="index" xml-lang="en-US" id="bm_id3149870"><bookmark_value>currency fields; control</bookmark_value><bookmark_value>controls; currency field</bookmark_value></bookmark><bookmark branch="hid/.uno:InsertCurrencyField" xml-lang="en-US" id="bm_id3155753"/><paragraph role="heading" level="2" id="hd_id3149870" l10n="U" xml-lang="en-US" oldref="44">Currency Field</paragraph>
+ <table id="tbl_id3153335">
+
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph l10n="E" role="paragraph" id="par_id3153958" xml-lang="en-US" oldref=""><image src="res/sc10707.png" id="img_id3150435"><alt xml-lang="en-US" id="alt_id3150435">Icon</alt></image></paragraph>
+
+ </tablecell>
+ <tablecell>
+ <paragraph l10n="U" role="paragraph" id="par_id3154064" xml-lang="en-US" oldref="45"><ahelp hid=".uno:InsertCurrencyField" visibility="visible">Adds a currency field.</ahelp></paragraph>
+ </tablecell>
+ </tablerow>
+
+ </table>
+ <bookmark branch="index" xml-lang="en-US" id="bm_id3150117"><bookmark_value>formatted fields; control</bookmark_value><bookmark_value>controls; formatted field</bookmark_value></bookmark><bookmark branch="hid/.uno:InsertFormattedField" xml-lang="en-US" id="bm_id3147298"/><paragraph role="heading" level="2" id="hd_id3150117" l10n="U" xml-lang="en-US" oldref="46">Formatted Field</paragraph>
+ <table id="tbl_id3151361">
+
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph l10n="E" role="paragraph" id="par_id3153162" xml-lang="en-US" oldref=""><image src="res/commandimagelist/sc_formattedfield.png" id="img_id3152807"><alt xml-lang="en-US" id="alt_id3152807">Icon</alt></image></paragraph>
+
+ </tablecell>
+ <tablecell>
+ <paragraph l10n="U" role="paragraph" id="par_id3146320" xml-lang="en-US" oldref="47"><ahelp hid=".uno:InsertFormattedField" visibility="visible">Adds a text box where you can define the formatting for text that is inputted or outputted as well as any limiting values.</ahelp></paragraph>
+ </tablecell>
+ </tablerow>
+
+ </table>
+ <bookmark id="bm_id3156160" branch="index" xml-lang="en-US"><bookmark_value>pattern fields; control</bookmark_value><bookmark_value>controls; pattern field</bookmark_value><bookmark_value>masked fields; control</bookmark_value><bookmark_value>controls; masked field</bookmark_value></bookmark><bookmark branch="hid/.uno:InsertPatternField" xml-lang="en-US" id="bm_id3150537"/><paragraph role="heading" level="2" id="hd_id3156160" l10n="U" xml-lang="en-US" oldref="48">Pattern Field</paragraph>
+ <table id="tbl_id3151174">
+
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph l10n="E" role="paragraph" id="par_id3150379" xml-lang="en-US" oldref=""><image src="res/commandimagelist/sc_insertpatternfield.png" id="img_id3150032"><alt xml-lang="en-US" id="alt_id3150032">Icon</alt></image></paragraph>
+
+ </tablecell>
+ <tablecell>
+ <paragraph l10n="U" role="paragraph" id="par_id3147382" xml-lang="en-US" oldref="49"><ahelp hid=".uno:InsertPatternField" visibility="visible">Adds a masked field.</ahelp> A masked field consists of an input mask and a character mask. The input mask determines which user data can be entered. The character mask determines the state of the masked field when the form is loaded.</paragraph>
+ </tablecell>
+ </tablerow>
+
+ </table>
+ <bookmark branch="index" xml-lang="en-US" id="bm_id3146815"><bookmark_value>file selections; control</bookmark_value><bookmark_value>controls; file selection</bookmark_value></bookmark><bookmark branch="hid/.uno:InsertFileControl" xml-lang="en-US" id="bm_id3149146"/><paragraph role="heading" level="2" id="hd_id3146815" l10n="U" xml-lang="en-US" oldref="50">File Selection</paragraph>
+ <table id="tbl_id3149914">
+
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph l10n="E" role="paragraph" id="par_id3149194" xml-lang="en-US" oldref=""><image src="res/sc10942.png" id="img_id3149101"><alt xml-lang="en-US" id="alt_id3149101">Icon</alt></image></paragraph>
+
+ </tablecell>
+ <tablecell>
+ <paragraph l10n="U" role="paragraph" id="par_id3145632" xml-lang="en-US" oldref="51"><ahelp hid=".uno:InsertFileControl" visibility="visible">Adds a button that allows you to select a file.</ahelp></paragraph>
+ </tablecell>
+ </tablerow>
+
+ </table>
+ <bookmark branch="index" xml-lang="en-US" id="bm_id3155912"><bookmark_value>selections; controls</bookmark_value><bookmark_value>controls; selection</bookmark_value></bookmark><bookmark branch="hid/.uno:SelectObject" xml-lang="en-US" id="bm_id3159116"/><paragraph role="heading" level="2" id="hd_id3155912" l10n="U" xml-lang="en-US" oldref="52">Select</paragraph>
+ <table id="tbl_id3157966">
+
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph l10n="E" role="paragraph" id="par_id3154903" xml-lang="en-US" oldref=""><image src="res/commandimagelist/sc_drawselect.png" id="img_id3150653"><alt xml-lang="en-US" id="alt_id3150653">Icon</alt></image></paragraph>
+
+ </tablecell>
+ <tablecell>
+ <paragraph l10n="U" role="paragraph" id="par_id3148465" xml-lang="en-US" oldref="53"><ahelp hid=".uno:SelectObject" visibility="visible">Activates or deactivates the Selection mode. In this mode, you can select the controls in a dialog so that you can edit them.</ahelp></paragraph>
+ </tablecell>
+ </tablerow>
+
+ </table>
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3154055"><bookmark_value>controls; properties</bookmark_value></bookmark><bookmark branch="hid/.uno:ShowBrowser" xml-lang="en-US" id="bm_id3149351"/><bookmark branch="hid/.uno:ShowPropBrowser" xml-lang="en-US" id="bm_id3149354"/><paragraph role="heading" level="2" id="hd_id3154055" l10n="U" xml-lang="en-US" oldref="54">Properties</paragraph>
+ <table id="tbl_id3156148">
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph l10n="E" role="paragraph" id="par_id3148725" xml-lang="en-US" oldref=""><image src="res/sc10163.png" id="img_id3146874"><alt xml-lang="en-US" id="alt_id3146874">Icon</alt></image></paragraph>
+
+ </tablecell>
+ <tablecell>
+ <paragraph l10n="U" role="paragraph" id="par_id3151105" xml-lang="en-US" oldref="55"><ahelp visibility="visible" hid=".uno:ShowPropBrowser">Opens a dialog where you can edit the <link href="text/sbasic/shared/01170100.xhp" name="properties">properties</link> of the selected control.</ahelp></paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+ <bookmark branch="index" xml-lang="en-US" id="bm_id3153746"><bookmark_value>test mode; controls</bookmark_value><bookmark_value>controls; test mode</bookmark_value></bookmark><bookmark branch="hid/.uno:TestMode" xml-lang="en-US" id="bm_id3150024"/><paragraph role="heading" level="2" id="hd_id3153746" l10n="U" xml-lang="en-US" oldref="56">Activate Test Mode</paragraph>
+ <table id="tbl_id3149435">
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph l10n="E" role="paragraph" id="par_id3147417" xml-lang="en-US" oldref=""><image src="res/sc10199.png" id="img_id3148883"><alt xml-lang="en-US" id="alt_id3148883">Icon</alt></image></paragraph>
+
+ </tablecell>
+ <tablecell>
+ <paragraph l10n="U" role="paragraph" id="par_id3150699" xml-lang="en-US" oldref="57"><ahelp hid=".uno:TestMode" visibility="visible">Starts test mode. Use the dialog closer to return to design mode.</ahelp></paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/02/makefile.mk b/helpcontent2/source/text/sbasic/shared/02/makefile.mk
new file mode 100644
index 0000000000..661d68e2d3
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/02/makefile.mk
@@ -0,0 +1,57 @@
+#*************************************************************************
+#*
+#* $Workfile:$
+#*
+#* Creation date KR 28.06.99
+#* last change $Author: fpe $ $Date: 2004-08-18 10:53:49 $
+#*
+#* $Revision: 1.1 $
+#*
+#* $Logfile:$
+#*
+#* Copyright 2000 Sun Microsystems, Inc. All Rights Reserved.
+#*
+#*************************************************************************
+
+# edit to match directory level
+PRJ = ..$/..$/..$/..$/..
+# same for all makefiles in "help2"
+PRJNAME = help2
+# edit to match the current package
+PACKAGE = text/sbasic/shared/02
+# uniqe name (module wide);
+# using a modified forme of package should do here
+TARGET = text_sbasic_shared_02
+# edit to match the current module
+MODULE = sbasic
+
+# --- Settings -----------------------------------------------------
+
+.INCLUDE : $(PRJ)$/settings.pmk
+.INCLUDE : settings.mk
+
+# this list matches the *.xml files to process
+HZIPFILES = \
+ 11010000.hzip \
+ 11020000.hzip \
+ 11030000.hzip \
+ 11040000.hzip \
+ 11050000.hzip \
+ 11060000.hzip \
+ 11070000.hzip \
+ 11080000.hzip \
+ 11090000.hzip \
+ 11090100.hzip \
+ 11100000.hzip \
+ 11110000.hzip \
+ 11120000.hzip \
+ 11140000.hzip \
+ 11150000.hzip \
+ 11160000.hzip \
+ 11170000.hzip \
+ 20000000.hzip
+
+# --- Targets ------------------------------------------------------
+
+.INCLUDE : target.mk
+.INCLUDE : $(PRJ)$/makefile.pmk
diff --git a/helpcontent2/source/text/sbasic/shared/03000000.xhp b/helpcontent2/source/text/sbasic/shared/03000000.xhp
new file mode 100755
index 0000000000..ec660868e0
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03000000.xhp
@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03000000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Run-Time Functions</title>
+<filename>/text/sbasic/shared/03000000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="runtime">
+ <paragraph id="hd_id3152895" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><variable id="doc_title"><link href="text/sbasic/shared/03000000.xhp" name="Run-Time Functions">Run-Time Functions</link></variable></paragraph>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3148983" l10n="U" oldref="2">This section describes the Runtime Functions of <item type="productname">%PRODUCTNAME</item> Basic.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/03010000.xhp#bildschirmeinaus"/>
+ <embed href="text/sbasic/shared/03020000.xhp#dateieinaus"/>
+ <embed href="text/sbasic/shared/03030000.xhp#datumzeit"/>
+ <embed href="text/sbasic/shared/03050000.xhp#fehlerbehan"/>
+ <embed href="text/sbasic/shared/03060000.xhp#logi"/>
+ <embed href="text/sbasic/shared/03070000.xhp#mathe"/>
+ <embed href="text/sbasic/shared/03080000.xhp#nummer"/>
+ <embed href="text/sbasic/shared/03090000.xhp#programmablauf"/>
+ <embed href="text/sbasic/shared/03100000.xhp#variablen"/>
+ <embed href="text/sbasic/shared/03110000.xhp#vergleich"/>
+ <embed href="text/sbasic/shared/03120000.xhp#zeichen"/>
+ <embed href="text/sbasic/shared/03130000.xhp#sonstige"/>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03010000.xhp b/helpcontent2/source/text/sbasic/shared/03010000.xhp
new file mode 100755
index 0000000000..eede03a2ad
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03010000.xhp
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03010000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Screen I/O Functions</title>
+<filename>/text/sbasic/shared/03010000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="bildschirmeinaus">
+ <paragraph id="hd_id3156280" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03010000.xhp" name="Screen I/O Functions">Screen I/O Functions</link></paragraph>
+ <paragraph role="paragraph" id="par_id3153770" l10n="U" xml-lang="en-US" oldref="2">This section describes the Runtime Functions used to call dialogs for the input and output of user entries.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/03010100.xhp#ausgabe"/>
+ <embed href="text/sbasic/shared/03010200.xhp#eingabe"/>
+ <embed href="text/sbasic/shared/03010300.xhp#farbe"/>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03010100.xhp b/helpcontent2/source/text/sbasic/shared/03010100.xhp
new file mode 100755
index 0000000000..878f0cb724
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03010100.xhp
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03010100xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Display Functions</title>
+<filename>/text/sbasic/shared/03010100.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="ausgabe">
+ <paragraph id="hd_id3151384" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03010100.xhp" name="Display Functions">Display Functions</link></paragraph>
+ <paragraph role="paragraph" id="par_id3149346" l10n="U" xml-lang="en-US" oldref="2">This section describes Runtime functions used to output information to the screen display.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/03010101.xhp#msgbox"/>
+ <embed href="text/sbasic/shared/03010102.xhp#msgbox"/>
+ <embed href="text/sbasic/shared/03010103.xhp#print"/>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03010101.xhp b/helpcontent2/source/text/sbasic/shared/03010101.xhp
new file mode 100755
index 0000000000..aec05f5dfc
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03010101.xhp
@@ -0,0 +1,108 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03010101xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">MsgBox Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03010101.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-06-24T14:14:57">converted from old format - fpe
+dedr: fixed #i30425#</lastedited>
+</history>
+</meta>
+<body>
+<section id="msgbox">
+<bookmark xml-lang="en-US" branch="index" id="bm_id1807916"><bookmark_value>MsgBox;statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3154927" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03010101.xhp">MsgBox Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3148947" xml-lang="en-US" l10n="U" oldref="2">Displays a dialog box containing a message.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3153897" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3148664" xml-lang="en-US" l10n="U" oldref="4">MsgBox Text As String [,Type As Integer [,Dialogtitle As String]] (As Statement) or MsgBox (Text As String [,Type As Integer [,Dialogtitle As String]]) (As Function)</paragraph>
+<paragraph role="heading" id="hd_id3153361" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameter:</paragraph>
+<paragraph role="paragraph" id="par_id3148798" xml-lang="en-US" l10n="U" oldref="6">
+<emph>Text</emph>: String expression displayed as a message in the dialog box. Line breaks can be inserted with Chr$(13).</paragraph>
+<paragraph role="paragraph" id="par_id3150769" xml-lang="en-US" l10n="U" oldref="7">
+<emph>DialogTitle</emph>: String expression displayed in the title bar of the dialog. If omitted, the title bar displays the name of the respective application.</paragraph>
+<paragraph role="paragraph" id="par_id3147228" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Type</emph>: Any integer expression that specifies the dialog type, as well as the number and type of buttons to display, and the icon type. <emph>Type</emph> represents a combination of bit patterns, that is, a combination of elements can be defined by adding their respective values:</paragraph>
+<paragraph role="paragraph" id="par_id3161832" xml-lang="en-US" l10n="U" oldref="9">0 : Display OK button only.</paragraph>
+<paragraph role="paragraph" id="par_id3153726" xml-lang="en-US" l10n="U" oldref="10">1 : Display OK and Cancel buttons.</paragraph>
+<paragraph role="paragraph" id="par_id3149665" xml-lang="en-US" l10n="U" oldref="11">2 : Display Cancel and Retry buttons.</paragraph>
+<paragraph role="paragraph" id="par_id3147318" xml-lang="en-US" l10n="U" oldref="12">3 : Display Yes, No and Cancel buttons.</paragraph>
+<paragraph role="paragraph" id="par_id3155412" xml-lang="en-US" l10n="U" oldref="13">4 : Display Yes and No buttons.</paragraph>
+<paragraph role="paragraph" id="par_id3146119" xml-lang="en-US" l10n="U" oldref="14">5 : Display Retry and Cancel buttons.</paragraph>
+<paragraph role="paragraph" id="par_id3159155" xml-lang="en-US" l10n="U" oldref="15">16 : Add the Stop icon to the dialog.</paragraph>
+<paragraph role="paragraph" id="par_id3145366" xml-lang="en-US" l10n="U" oldref="16">32 : Add the Question icon to the dialog.</paragraph>
+<paragraph role="paragraph" id="par_id3147350" xml-lang="en-US" l10n="U" oldref="17">48 : Add the Exclamation icon to the dialog.</paragraph>
+<paragraph role="paragraph" id="par_id3149960" xml-lang="en-US" l10n="U" oldref="18">64 : Add the Information icon to the dialog.</paragraph>
+<paragraph role="paragraph" id="par_id3154944" xml-lang="en-US" l10n="U" oldref="19">128 : First button in the dialog as default button.</paragraph>
+<paragraph role="paragraph" id="par_id3155417" xml-lang="en-US" l10n="U" oldref="20">256 : Second button in the dialog as default button.</paragraph>
+<paragraph role="paragraph" id="par_id3153878" xml-lang="en-US" l10n="U" oldref="21">512 : Third button in the dialog as default button.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3150715" xml-lang="en-US" level="2" l10n="U" oldref="22">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3154511" xml-lang="en-US" l10n="U" oldref="23">Sub ExampleMsgBox</paragraph>
+<paragraph role="paragraph" id="par_id3150327" xml-lang="en-US" l10n="U" oldref="24">Const sText1 = "An unexpected error occurred."</paragraph>
+<paragraph role="paragraph" id="par_id3146912" xml-lang="en-US" l10n="U" oldref="25">Const sText2 = "The program execution will continue, however."</paragraph>
+<paragraph role="paragraph" id="par_id3154757" xml-lang="en-US" l10n="U" oldref="26">Const sText3 = "Error"</paragraph>
+<paragraph role="paragraph" id="par_id3155445" xml-lang="en-US" l10n="U" oldref="27">MsgBox(sText1 + Chr(13) + sText2,16,sText3)</paragraph>
+<paragraph role="paragraph" id="par_id3155768" xml-lang="en-US" l10n="U" oldref="28">End sub</paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03010102.xhp b/helpcontent2/source/text/sbasic/shared/03010102.xhp
new file mode 100755
index 0000000000..e5037dee78
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03010102.xhp
@@ -0,0 +1,112 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03010102xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">MsgBox Function [Runtime]</title>
+<filename>/text/sbasic/shared/03010102.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="msgbox">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3153379"><bookmark_value>MsgBox;function</bookmark_value></bookmark><paragraph id="hd_id3153379" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03010102.xhp" name="MsgBox Function [Runtime]">MsgBox Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3145171" l10n="U" xml-lang="en-US" oldref="2">Displays a dialog box containing a message and returns a value.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3156281" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3154685" l10n="U" xml-lang="en-US" oldref="4">MsgBox (Text As String [,Type As Integer [,Dialogtitle As String]])</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3153771" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3146985" l10n="U" xml-lang="en-US" oldref="6">Integer</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3153363" l10n="U" xml-lang="en-US" oldref="7">Parameter:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3153727" xml-lang="en-US" oldref="8"><emph>Text</emph>: String expression displayed as a message in the dialog box. Line breaks can be inserted with Chr$(13).</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3147317" xml-lang="en-US" oldref="9"><emph>DialogTitle</emph>: String expression displayed in the title bar of the dialog. If omitted, the name of the respective application is displayed.</paragraph>
+ <paragraph l10n="U" xml-lang="en-US" role="paragraph" id="par_id3153954" oldref="10"><emph>Type</emph>: Any integer expression that specifies the dialog type and defines the number and type of buttons or icons displayed. <emph>Type</emph> represents a combination of bit patterns (dialog elements defined by adding the respective values):</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3154319" xml-lang="en-US" oldref="11"><emph>Values</emph></paragraph>
+ <paragraph role="paragraph" id="par_id3147397" l10n="U" xml-lang="en-US" oldref="12">0 : Display OK button only.</paragraph>
+ <paragraph role="paragraph" id="par_id3145646" l10n="U" xml-lang="en-US" oldref="13">1 : Display OK and Cancel buttons.</paragraph>
+ <paragraph role="paragraph" id="par_id3149410" l10n="U" xml-lang="en-US" oldref="14">2 : Display Cancel and Retry buttons.</paragraph>
+ <paragraph role="paragraph" id="par_id3151075" l10n="U" xml-lang="en-US" oldref="15">3 : Display Yes, No, and Cancel buttons.</paragraph>
+ <paragraph role="paragraph" id="par_id3153878" l10n="U" xml-lang="en-US" oldref="16">4 : Display Yes and No buttons.</paragraph>
+ <paragraph role="paragraph" id="par_id3155601" l10n="U" xml-lang="en-US" oldref="17">5 : Display Retry and Cancel buttons.</paragraph>
+ <paragraph role="paragraph" id="par_id3150716" l10n="U" xml-lang="en-US" oldref="18">16 : Add the Stop icon to the dialog.</paragraph>
+ <paragraph role="paragraph" id="par_id3153837" l10n="U" xml-lang="en-US" oldref="19">32 : Add the Question icon to the dialog.</paragraph>
+ <paragraph role="paragraph" id="par_id3150751" l10n="U" xml-lang="en-US" oldref="20">48 : Add the Exclamation Point icon to the dialog.</paragraph>
+ <paragraph role="paragraph" id="par_id3146915" l10n="U" xml-lang="en-US" oldref="21">64 : Add the Information icon to the dialog.</paragraph>
+ <paragraph role="paragraph" id="par_id3145640" l10n="U" xml-lang="en-US" oldref="22">128 : First button in the dialog as default button.</paragraph>
+ <paragraph role="paragraph" id="par_id3153765" l10n="U" xml-lang="en-US" oldref="23">256 : Second button in the dialog as default button.</paragraph>
+ <paragraph role="paragraph" id="par_id3153715" l10n="U" xml-lang="en-US" oldref="24">512 : Third button in the dialog as default button.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3159267" xml-lang="en-US" oldref="25"><emph>Return value:</emph></paragraph>
+ <paragraph role="paragraph" id="par_id3145230" l10n="U" xml-lang="en-US" oldref="26">1 : OK</paragraph>
+ <paragraph role="paragraph" id="par_id3149567" l10n="U" xml-lang="en-US" oldref="27">2 : Cancel</paragraph>
+ <paragraph role="paragraph" id="par_id3155335" l10n="U" xml-lang="en-US" oldref="28">4 : Retry</paragraph>
+ <paragraph role="paragraph" id="par_id3146918" l10n="U" xml-lang="en-US" oldref="29">5 : Ignore</paragraph>
+ <paragraph role="paragraph" id="par_id3155961" l10n="U" xml-lang="en-US" oldref="30">6 : Yes</paragraph>
+ <paragraph role="paragraph" id="par_id3148488" l10n="U" xml-lang="en-US" oldref="31">7 : No</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3150090" l10n="U" xml-lang="en-US" oldref="40">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3154120" l10n="U" xml-lang="en-US" oldref="41">Sub ExampleMsgBox</paragraph>
+ <paragraph role="paragraph" id="par_id3145131" l10n="U" xml-lang="en-US" oldref="42">Dim sVar as Integer</paragraph>
+ <paragraph role="paragraph" id="par_id3151278" l10n="U" xml-lang="en-US" oldref="43">sVar = MsgBox(&quot;Las Vegas&quot;)</paragraph>
+ <paragraph role="paragraph" id="par_id3149034" l10n="U" xml-lang="en-US" oldref="44">sVar = MsgBox(&quot;Las Vegas&quot;,1)</paragraph>
+ <paragraph role="paragraph" id="par_id3166424" l10n="U" xml-lang="en-US" oldref="45">sVar = MsgBox( &quot;Las Vegas&quot;,256 + 16 + 2,&quot;Dialog title&quot;)</paragraph>
+ <paragraph role="paragraph" id="par_id3152581" l10n="U" xml-lang="en-US" oldref="46">end sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03010103.xhp b/helpcontent2/source/text/sbasic/shared/03010103.xhp
new file mode 100644
index 0000000000..2f915ad27f
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03010103.xhp
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************-->
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03010103xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Print Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03010103.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="print">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3147230"><bookmark_value>Print;statement</bookmark_value></bookmark><paragraph id="hd_id3147230" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03010103.xhp" name="Print Statement [Runtime]">Print Statement [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3156281" l10n="U" xml-lang="en-US" oldref="2">Prints the specified strings or numeric expressions in a dialog.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3145785" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3153188" l10n="U" xml-lang="en-US" oldref="4">Print Expression1[{;|,} [Spc(Number As Integer);] [Tab(pos As Integer);] [Expression2[...]] </paragraph>
+ <paragraph role="heading" level="2" id="hd_id3147348" l10n="U" xml-lang="en-US" oldref="5">Parameter:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3163712" xml-lang="en-US" oldref="6"><emph>Expression</emph>: Any numeric or string expression to be printed. Multiple expressions can be separated by a semicolon. If separated by a comma, the expressions are indented to the next tab stop. The tab stops cannot be adjusted.</paragraph>
+ <paragraph l10n="U" xml-lang="en-US" role="paragraph" id="par_id3153092" oldref="7"><emph>Number</emph>: Number of spaces to be inserted by the <emph>Spc</emph> function.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3145364" xml-lang="en-US" oldref="8"><emph>Pos</emph>: Spaces are inserted until the specified position.</paragraph>
+ <paragraph role="paragraph" id="par_id3154319" l10n="U" xml-lang="en-US" oldref="9">If a semicolon or comma appears after the last expression to be printed, $[officename] Basic stores the text in an internal buffer and continues program execution without printing. When another Print statement without a semicolon or comma at the end is encountered, all text to be printed is printed at once.</paragraph>
+ <paragraph role="paragraph" id="par_id3145272" l10n="U" xml-lang="en-US" oldref="10">Positive numeric expressions are printed with a leading space. Negative expressions are printed with a leading minus sign. If a certain range is exceeded for floating-point values, the respective numeric expression is printed in exponential notation.</paragraph>
+ <paragraph role="paragraph" id="par_id3154011" l10n="U" xml-lang="en-US" oldref="11">If the expression to be printed exceeds a certain length, the display will automatically wrap to the next line.</paragraph>
+ <paragraph xml-lang="en-US" role="note" id="par_id3146969" l10n="U" oldref="12">You can insert the Tab function, enclosed by semicolons, between arguments to indent the output to a specific position, or you can use the <emph>Spc</emph> function to insert a specified number of spaces.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3146912" l10n="U" xml-lang="en-US" oldref="13">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3153711" l10n="U" xml-lang="en-US" oldref="14">Sub ExamplePrint</paragraph>
+ <paragraph role="paragraph" id="par_id3153764" l10n="U" xml-lang="en-US" oldref="15">Print "ABC"</paragraph>
+ <paragraph role="paragraph" id="par_id3155764" l10n="U" xml-lang="en-US" oldref="16">Print "ABC","123"</paragraph>
+ <paragraph role="paragraph" id="par_id3147339" l10n="U" xml-lang="en-US" oldref="17">end Sub</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03010200.xhp b/helpcontent2/source/text/sbasic/shared/03010200.xhp
new file mode 100755
index 0000000000..5f31f7f921
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03010200.xhp
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03010200xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Functions for Screen Input</title>
+<filename>/text/sbasic/shared/03010200.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="eingabe">
+ <paragraph id="hd_id3149456" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03010200.xhp" name="Functions for Screen Input">Functions for Screen Input</link></paragraph>
+ <paragraph role="paragraph" id="par_id3150398" l10n="U" xml-lang="en-US" oldref="2">This section describes Runtime functions used to control screen input.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/03010201.xhp#inputbox"/>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03010201.xhp b/helpcontent2/source/text/sbasic/shared/03010201.xhp
new file mode 100755
index 0000000000..41e8d7cc1a
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03010201.xhp
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03010201xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">InputBox Function [Runtime]</title>
+<filename>/text/sbasic/shared/03010201.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="inputbox">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3148932"><bookmark_value>InputBox; function</bookmark_value></bookmark><paragraph id="hd_id3148932" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03010201.xhp" name="InputBox Function [Runtime]">InputBox Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3151262" l10n="U" xml-lang="en-US" oldref="2">Displays a prompt in a dialog at which the user can input text. The input is assigned to a variable.</paragraph>
+ </section>
+ <paragraph xml-lang="en-US" oldref="3" role="paragraph" id="par_id3151100" l10n="U">The <emph>InputBox</emph> statement is a convenient method of entering text through a dialog. Confirm the input by clicking OK or pressing Return. The input is returned as the function return value. If you close the dialog with Cancel, <emph>InputBox</emph> returns a zero-length string (&quot;&quot;).</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3152347" l10n="U" xml-lang="en-US" oldref="4">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3159201" l10n="U" xml-lang="en-US" oldref="5">InputBox (Msg As String[, Title As String[, Default As String[, x_pos As Integer, y_pos As Integer]]]]) </paragraph>
+ <paragraph role="heading" level="2" id="hd_id3150713" l10n="U" xml-lang="en-US" oldref="6">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3145090" l10n="U" xml-lang="en-US" oldref="7">String</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3149346" l10n="U" xml-lang="en-US" oldref="8">Parameter:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3153311" xml-lang="en-US" oldref="9"><emph>Msg</emph>: String expression displayed as the message in the dialog box.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3145315" xml-lang="en-US" oldref="10"><emph>Title</emph>: String expression displayed in the title bar of the dialog box.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3154307" xml-lang="en-US" oldref="11"><emph>Default</emph>: String expression displayed in the text box as default if no other input is given.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3147573" xml-lang="en-US" oldref="12"><emph>x_pos</emph>: Integer expression that specifies the horizontal position of the dialog. The position is an absolute coordinate and does not refer to the window of the office application.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3156024" xml-lang="en-US" oldref="13"><emph>y_pos</emph>: Integer expression that specifies the vertical position of the dialog. The position is an absolute coordinate and does not refer to the window of the office application.</paragraph>
+ <paragraph xml-lang="en-US" oldref="14" l10n="U" role="paragraph" id="par_id3153897">If <emph>x_pos</emph> and <emph>y_pos</emph> are omitted, the dialog is centered on the screen. The position is specified in <link href="text/sbasic/shared/00000002.xhp#twips" name="twips">twips</link>.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3149456" l10n="U" xml-lang="en-US" oldref="15">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3153379" l10n="U" xml-lang="en-US" oldref="16">Sub ExampleInputBox</paragraph>
+ <paragraph role="paragraph" id="par_id3149656" l10n="U" xml-lang="en-US" oldref="17">Dim sText As String</paragraph>
+ <paragraph role="paragraph" id="par_id3154367" l10n="U" xml-lang="en-US" oldref="18">sText = InputBox (&quot;Please enter a phrase:&quot;,&quot;Dear User&quot;)</paragraph>
+ <paragraph role="paragraph" id="par_id3151042" l10n="U" xml-lang="en-US" oldref="19">MsgBox ( sText , 64, &quot;Confirmation of phrase&quot;)</paragraph>
+ <paragraph role="paragraph" id="par_id3150768" l10n="U" xml-lang="en-US" oldref="20">End Sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03010300.xhp b/helpcontent2/source/text/sbasic/shared/03010300.xhp
new file mode 100755
index 0000000000..6fd08fad13
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03010300.xhp
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03010300xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Color Functions</title>
+<filename>/text/sbasic/shared/03010300.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="farbe">
+ <paragraph id="hd_id3157896" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03010300.xhp" name="Color Functions">Color Functions</link></paragraph>
+ <paragraph role="paragraph" id="par_id3155555" l10n="U" xml-lang="en-US" oldref="2">This section describes Runtime functions used to define colors.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/03010301.xhp#blue"/>
+ <embed href="text/sbasic/shared/03010302.xhp#green"/>
+ <embed href="text/sbasic/shared/03010303.xhp#red"/>
+ <embed href="text/sbasic/shared/03010304.xhp#qbcolor"/>
+ <embed href="text/sbasic/shared/03010305.xhp#rgb"/>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03010301.xhp b/helpcontent2/source/text/sbasic/shared/03010301.xhp
new file mode 100755
index 0000000000..de00d3a4bb
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03010301.xhp
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03010301xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Blue Function [Runtime]</title>
+<filename>/text/sbasic/shared/03010301.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="blue">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3149180"><bookmark_value>Blue;function</bookmark_value></bookmark><paragraph id="hd_id3149180" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03010301.xhp" name="Blue Function [Runtime]">Blue Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3156343" l10n="U" xml-lang="en-US" oldref="2">Returns the blue component of the specified color code.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3149670" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3149457" l10n="U" xml-lang="en-US" oldref="4">Blue (Color As Long)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3149656" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3154365" l10n="U" xml-lang="en-US" oldref="6">Integer</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3156423" l10n="U" xml-lang="en-US" oldref="7">Parameter:</paragraph>
+ <paragraph l10n="U" xml-lang="en-US" role="paragraph" id="par_id3150448" oldref="8"><emph>Color value</emph>: Long integer expression that specifies any <link href="text/sbasic/shared/00000003.xhp#farbcodes" name="color code">color code</link> for which to return the blue component.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3153091" l10n="U" xml-lang="en-US" oldref="9">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3153143" l10n="U" xml-lang="en-US" oldref="10">Sub ExampleColor</paragraph>
+ <paragraph role="paragraph" id="par_id3149664" l10n="U" xml-lang="en-US" oldref="11">Dim lVar As Long</paragraph>
+ <paragraph role="paragraph" id="par_id3148576" l10n="U" xml-lang="en-US" oldref="12">lVar = rgb(128,0,200)</paragraph>
+ <paragraph role="paragraph" id="par_id3154012" l10n="U" xml-lang="en-US" oldref="13">MsgBox &quot;The color &quot; &amp; lVar &amp; &quot; consists of:&quot; &amp; Chr(13) &amp;_</paragraph>
+ <paragraph role="paragraph" id="par_id3148645" l10n="U" xml-lang="en-US" oldref="14">&quot;red= &quot; &amp; Red(lVar) &amp; Chr(13)&amp;_</paragraph>
+ <paragraph role="paragraph" id="par_id3159155" l10n="U" xml-lang="en-US" oldref="15">&quot;green= &quot; &amp; Green(lVar) &amp; Chr(13)&amp;_</paragraph>
+ <paragraph role="paragraph" id="par_id3147319" l10n="U" xml-lang="en-US" oldref="16">&quot;blue= &quot; &amp; Blue(lVar) &amp; Chr(13) , 64,&quot;colors&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3147434" l10n="U" xml-lang="en-US" oldref="17">End Sub</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03010302.xhp b/helpcontent2/source/text/sbasic/shared/03010302.xhp
new file mode 100755
index 0000000000..355cb30258
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03010302.xhp
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03010302xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Green Function [Runtime]</title>
+<filename>/text/sbasic/shared/03010302.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="green">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3148947"><bookmark_value>Green;function</bookmark_value></bookmark><paragraph id="hd_id3148947" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03010302.xhp" name="Green Function [Runtime]">Green Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3153361" l10n="U" xml-lang="en-US" oldref="2">Returns the Green component of the given color code.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3154140" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3153969" l10n="U" xml-lang="en-US" oldref="4">Green (Color As Long)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3154124" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3153194" l10n="U" xml-lang="en-US" oldref="6">Integer</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3154909" l10n="U" xml-lang="en-US" oldref="7">Parameter:</paragraph>
+ <paragraph l10n="U" xml-lang="en-US" role="paragraph" id="par_id3153770" oldref="8"><emph>Color</emph>: Long integer expression that specifies a <link href="text/sbasic/shared/00000003.xhp#farbcodes" name="color code">color code</link> for which to return the Green component.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3149664" l10n="U" xml-lang="en-US" oldref="9">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3156442" l10n="U" xml-lang="en-US" oldref="10">Sub ExampleColor</paragraph>
+ <paragraph role="paragraph" id="par_id3146974" l10n="U" xml-lang="en-US" oldref="11">Dim lVar As Long</paragraph>
+ <paragraph role="paragraph" id="par_id3145750" l10n="U" xml-lang="en-US" oldref="12">lVar = rgb(128,0,200)</paragraph>
+ <paragraph role="paragraph" id="par_id3151117" l10n="U" xml-lang="en-US" oldref="13">msgbox &quot;The color &quot; &amp; lVar &amp; &quot; contains the components:&quot; &amp; Chr(13) &amp;_</paragraph>
+ <paragraph role="paragraph" id="par_id3153951" l10n="U" xml-lang="en-US" oldref="14">&quot;red = &quot; &amp; red(lVar) &amp; Chr(13)&amp;_</paragraph>
+ <paragraph role="paragraph" id="par_id3152462" l10n="U" xml-lang="en-US" oldref="15">&quot;green = &quot; &amp; green(lVar) &amp; Chr(13)&amp;_</paragraph>
+ <paragraph role="paragraph" id="par_id3154730" l10n="U" xml-lang="en-US" oldref="16">&quot;blue = &quot; &amp; blue(lVar) &amp; Chr(13) , 64,&quot;colors&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3144764" l10n="U" xml-lang="en-US" oldref="17">end sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03010303.xhp b/helpcontent2/source/text/sbasic/shared/03010303.xhp
new file mode 100755
index 0000000000..2b409e5435
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03010303.xhp
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03010303xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Red Function [Runtime]</title>
+<filename>/text/sbasic/shared/03010303.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="red">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3148947"><bookmark_value>Red;function</bookmark_value></bookmark><paragraph id="hd_id3148947" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03010303.xhp" name="Red Function [Runtime]">Red Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3149656" l10n="U" xml-lang="en-US" oldref="2">Returns the Red component of the specified color code.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3148799" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3150448" l10n="U" xml-lang="en-US" oldref="4">Red (ColorNumber As Long)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3151042" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3145173" l10n="U" xml-lang="en-US" oldref="6">Integer</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3154685" l10n="U" xml-lang="en-US" oldref="7">Parameter:</paragraph>
+ <paragraph l10n="U" xml-lang="en-US" role="paragraph" id="par_id3150440" oldref="8"><emph>ColorNumber</emph>: Long integer expression that specifies any <link href="text/sbasic/shared/00000003.xhp#farbcodes" name="color code">color code</link> for which to return the Red component.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3148575" l10n="U" xml-lang="en-US" oldref="9">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3145365" l10n="U" xml-lang="en-US" oldref="10">Sub ExampleColor</paragraph>
+ <paragraph role="paragraph" id="par_id3147348" l10n="U" xml-lang="en-US" oldref="11">Dim lVar As Long</paragraph>
+ <paragraph role="paragraph" id="par_id3145750" l10n="U" xml-lang="en-US" oldref="12">lVar = rgb(128,0,200)</paragraph>
+ <paragraph role="paragraph" id="par_id3147435" l10n="U" xml-lang="en-US" oldref="13">msgbox &quot;The color &quot; &amp; lVar &amp; &quot; consists of:&quot; &amp; Chr(13) &amp;_</paragraph>
+ <paragraph role="paragraph" id="par_id3155306" l10n="U" xml-lang="en-US" oldref="14">&quot;red= &quot; &amp; red(lVar) &amp; Chr(13)&amp;_</paragraph>
+ <paragraph role="paragraph" id="par_id3149262" l10n="U" xml-lang="en-US" oldref="15">&quot;green= &quot; &amp; green(lVar) &amp; Chr(13)&amp;_</paragraph>
+ <paragraph role="paragraph" id="par_id3147397" l10n="U" xml-lang="en-US" oldref="16">&quot;blue= &quot; &amp; blue(lVar) &amp; Chr(13) , 64,&quot;colors&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3156286" l10n="U" xml-lang="en-US" oldref="17">end sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03010304.xhp b/helpcontent2/source/text/sbasic/shared/03010304.xhp
new file mode 100755
index 0000000000..a5f21e38d2
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03010304.xhp
@@ -0,0 +1,108 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03010304xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">QBColor Function [Runtime]</title>
+<filename>/text/sbasic/shared/03010304.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="qbcolor">
+ <paragraph id="hd_id3149670" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03010304.xhp" name="QBColor Function [Runtime]">QBColor Function [Runtime]</link></paragraph>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3150359" l10n="U" oldref="2">Returns the <link href="text/sbasic/shared/03010305.xhp" name="RGB">RGB</link> color code of the color passed as a color value through an older MS-DOS based programming system.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3154140" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3151042" l10n="U" xml-lang="en-US" oldref="4">QBColor (ColorNumber As Integer)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3145172" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3154685" l10n="U" xml-lang="en-US" oldref="6">Long</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3156560" l10n="U" xml-lang="en-US" oldref="7">Parameter:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3161832" xml-lang="en-US" oldref="8"><emph>ColorNumber</emph>: Any integer expression that specifies the color value of the color passed from an older MS-DOS based programming system.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3147318" xml-lang="en-US" oldref="9"><emph>ColorNumber</emph> can be assigned the following values:</paragraph>
+ <paragraph role="paragraph" id="par_id3152576" l10n="U" xml-lang="en-US" oldref="10">0 : Black</paragraph>
+ <paragraph role="paragraph" id="par_id3146975" l10n="U" xml-lang="en-US" oldref="11">1 : Blue</paragraph>
+ <paragraph role="paragraph" id="par_id3151116" l10n="U" xml-lang="en-US" oldref="12">2 : Green</paragraph>
+ <paragraph role="paragraph" id="par_id3155412" l10n="U" xml-lang="en-US" oldref="13">3 : Cyan</paragraph>
+ <paragraph role="paragraph" id="par_id3155306" l10n="U" xml-lang="en-US" oldref="14">4 : Red</paragraph>
+ <paragraph role="paragraph" id="par_id3153364" l10n="U" xml-lang="en-US" oldref="15">5 : Magenta</paragraph>
+ <paragraph role="paragraph" id="par_id3146119" l10n="U" xml-lang="en-US" oldref="16">6 : Yellow</paragraph>
+ <paragraph role="paragraph" id="par_id3154730" l10n="U" xml-lang="en-US" oldref="17">7 : White</paragraph>
+ <paragraph role="paragraph" id="par_id3153877" l10n="U" xml-lang="en-US" oldref="18">8 : Gray</paragraph>
+ <paragraph role="paragraph" id="par_id3147124" l10n="U" xml-lang="en-US" oldref="19">9 : Light Blue</paragraph>
+ <paragraph role="paragraph" id="par_id3145646" l10n="U" xml-lang="en-US" oldref="20">10 : Light Green</paragraph>
+ <paragraph role="paragraph" id="par_id3149958" l10n="U" xml-lang="en-US" oldref="21">11 : Light Cyan</paragraph>
+ <paragraph role="paragraph" id="par_id3154943" l10n="U" xml-lang="en-US" oldref="22">12 : Light Red</paragraph>
+ <paragraph role="paragraph" id="par_id3150715" l10n="U" xml-lang="en-US" oldref="23">13 : Light Magenta</paragraph>
+ <paragraph role="paragraph" id="par_id3146970" l10n="U" xml-lang="en-US" oldref="24">14 : Light Yellow</paragraph>
+ <paragraph role="paragraph" id="par_id3150750" l10n="U" xml-lang="en-US" oldref="25">15 : Bright White</paragraph>
+ <paragraph role="paragraph" id="par_id3146914" l10n="U" xml-lang="en-US" oldref="26">This function is used only to convert from older MS-DOS based BASIC applications that use the above color codes. The function returns a long integer value indicating the color to be used in the $[officename] IDE.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3148406" l10n="U" xml-lang="en-US" oldref="27">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3145642" l10n="U" xml-lang="en-US" oldref="28">Sub ExampleQBColor</paragraph>
+ <paragraph role="paragraph" id="par_id3154256" l10n="U" xml-lang="en-US" oldref="29">Dim iColor As Integer</paragraph>
+ <paragraph role="paragraph" id="par_id3147340" l10n="U" xml-lang="en-US" oldref="30">Dim sText As String</paragraph>
+ <paragraph role="paragraph" id="par_id3155962" l10n="U" xml-lang="en-US" oldref="31">iColor = 7</paragraph>
+ <paragraph role="paragraph" id="par_id3145230" l10n="U" xml-lang="en-US" oldref="32">sText = &quot;RGB= &quot; &amp; Red(QBColor( iColor) ) &amp; &quot;:&quot; &amp; Blue(QBColor( iColor) ) &amp; &quot;:&quot; &amp; Green(QBColor( iColor) )</paragraph>
+ <paragraph role="paragraph" id="par_id3149566" l10n="U" xml-lang="en-US" oldref="33">MsgBox stext,0,&quot;Color &quot; &amp; iColor</paragraph>
+ <paragraph role="paragraph" id="par_id3154705" l10n="U" xml-lang="en-US" oldref="34">End Sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03010305.xhp b/helpcontent2/source/text/sbasic/shared/03010305.xhp
new file mode 100755
index 0000000000..da7ce72a50
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03010305.xhp
@@ -0,0 +1,93 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03010305xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">RGB Function [Runtime]</title>
+<filename>/text/sbasic/shared/03010305.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="rgb">
+ <paragraph id="hd_id3150792" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03010305.xhp" name="RGB Function [Runtime]">RGB Function [Runtime]</link></paragraph>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3150447" l10n="U" oldref="2">Returns a <link href="text/sbasic/shared/00000003.xhp#farbcodes" name="long integer color value">long integer color value</link> consisting of red, green, and blue components.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3147229" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3155132" l10n="U" xml-lang="en-US" oldref="4">RGB (Red, Green, Blue)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3156442" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3159153" l10n="U" xml-lang="en-US" oldref="6">Long</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3154013" l10n="U" xml-lang="en-US" oldref="7">Parameter:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3152597" xml-lang="en-US" oldref="8"><emph>Red</emph>: Any integer expression that represents the red component (0-255) of the composite color.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3146974" xml-lang="en-US" oldref="9"><emph>Green</emph>: Any integer expression that represents the green component (0-255) of the composite color.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3151113" xml-lang="en-US" oldref="10"><emph>Blue</emph>: Any integer expression that represents the blue component (0-255) of the composite color.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3147435" l10n="U" xml-lang="en-US" oldref="11">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3156283" l10n="U" xml-lang="en-US" oldref="12">Sub ExampleColor</paragraph>
+ <paragraph role="paragraph" id="par_id3149582" l10n="U" xml-lang="en-US" oldref="13">Dim lVar As Long</paragraph>
+ <paragraph role="paragraph" id="par_id3150417" l10n="U" xml-lang="en-US" oldref="14">lVar = rgb(128,0,200)</paragraph>
+ <paragraph role="paragraph" id="par_id3145647" l10n="U" xml-lang="en-US" oldref="15">msgbox &quot;The color &quot; &amp; lVar &amp; &quot; consists of:&quot; &amp; Chr(13) &amp;_</paragraph>
+ <paragraph role="paragraph" id="par_id3154491" l10n="U" xml-lang="en-US" oldref="16">&quot;red= &quot; &amp; red(lVar) &amp; Chr(13)&amp;_</paragraph>
+ <paragraph role="paragraph" id="par_id3149401" l10n="U" xml-lang="en-US" oldref="17">&quot;green= &quot; &amp; green(lVar) &amp; Chr(13)&amp;_</paragraph>
+ <paragraph role="paragraph" id="par_id3150716" l10n="U" xml-lang="en-US" oldref="18">&quot;blue= &quot; &amp; blue(lVar) &amp; Chr(13) , 64,&quot;colors&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3150752" l10n="U" xml-lang="en-US" oldref="19">end sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03020000.xhp b/helpcontent2/source/text/sbasic/shared/03020000.xhp
new file mode 100755
index 0000000000..efca1a5285
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03020000.xhp
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">File I/O Functions</title>
+<filename>/text/sbasic/shared/03020000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="dateieinaus">
+ <paragraph id="hd_id3156344" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03020000.xhp" name="File I/O Functions">File I/O Functions</link></paragraph>
+ <paragraph role="paragraph" id="par_id3153360" l10n="U" xml-lang="en-US" oldref="2">Use File I/O functions to create and manage user-defined (data) files.</paragraph>
+ </section>
+ <paragraph role="paragraph" id="par_id3150398" l10n="U" xml-lang="en-US" oldref="3">You can use these functions to support the creation of &quot;relative&quot; files, so that you can save and reload certain records by specifying their record number. File I/O functions can also help you manage your files by providing you with information such as file size, current path settings, or the creation date of a file or a directory.</paragraph>
+ <embed href="text/sbasic/shared/03020100.xhp#oeffnen"/>
+ <embed href="text/sbasic/shared/03020200.xhp#eingabeeinaus"/>
+ <embed href="text/sbasic/shared/03020300.xhp#position"/>
+ <embed href="text/sbasic/shared/03020400.xhp#organisation"/>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03020100.xhp b/helpcontent2/source/text/sbasic/shared/03020100.xhp
new file mode 100755
index 0000000000..4330d7a491
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03020100.xhp
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020100xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Opening and Closing Files</title>
+<filename>/text/sbasic/shared/03020100.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="oeffnen">
+ <paragraph id="hd_id3152924" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03020100.xhp" name="Opening and Closing Files">Opening and Closing Files</link></paragraph>
+ <paragraph role="paragraph" id="par_id3150986" l10n="U" xml-lang="en-US" oldref="2">The following functions and statement are for opening or closing files.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/03020101.xhp#close"/>
+ <embed href="text/sbasic/shared/03020102.xhp#freefile"/>
+ <embed href="text/sbasic/shared/03020103.xhp#open"/>
+ <embed href="text/sbasic/shared/03020104.xhp#reset"/>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03020101.xhp b/helpcontent2/source/text/sbasic/shared/03020101.xhp
new file mode 100755
index 0000000000..9ff7ba5572
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03020101.xhp
@@ -0,0 +1,104 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020101xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Close Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03020101.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="close">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3157896"><bookmark_value>Close;statement</bookmark_value></bookmark><paragraph id="hd_id3157896" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03020101.xhp" name="Close Statement [Runtime]">Close Statement [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3147573" l10n="U" xml-lang="en-US" oldref="2">Closes a specified file that was opened with the Open statement.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3156344" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3147265" l10n="U" xml-lang="en-US" oldref="4">Close FileNumber As Integer[, FileNumber2 As Integer[,...]] </paragraph>
+ <paragraph role="heading" level="2" id="hd_id3153379" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph l10n="U" xml-lang="en-US" role="paragraph" id="par_id3150791" oldref="6"><emph>FileNumber:</emph> Any integer expression that specifies the number of the data channel that was opened with the <emph>Open</emph> statement.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3153192" l10n="U" xml-lang="en-US" oldref="7">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3154909" l10n="U" xml-lang="en-US" oldref="8">Sub ExampleWorkWithAFile</paragraph>
+ <paragraph role="paragraph" id="par_id3154124" l10n="U" xml-lang="en-US" oldref="9">Dim iNumber As Integer</paragraph>
+ <paragraph role="paragraph" id="par_id3155132" l10n="U" xml-lang="en-US" oldref="10">Dim sLine As String</paragraph>
+ <paragraph role="paragraph" id="par_id3155854" l10n="U" xml-lang="en-US" oldref="11">Dim aFile As String</paragraph>
+ <paragraph role="paragraph" id="par_id3146985" l10n="U" xml-lang="en-US" oldref="34">Dim sMsg as String</paragraph>
+ <paragraph role="paragraph" id="par_id3154013" l10n="U" xml-lang="en-US" oldref="12">aFile = &quot;c:\data.txt&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3152598" l10n="U" xml-lang="en-US" oldref="13">sMsg = = &quot;&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3147427" l10n="U" xml-lang="en-US" oldref="14">iNumber = Freefile</paragraph>
+ <paragraph role="paragraph" id="par_id3151112" l10n="U" xml-lang="en-US" oldref="15">Open aFile For Output As #iNumber</paragraph>
+ <paragraph role="paragraph" id="par_id3153727" l10n="U" xml-lang="en-US" oldref="16">Print #iNumber, &quot;First line of text&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3147350" l10n="U" xml-lang="en-US" oldref="17">Print #iNumber, &quot;Another line of text&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3149667" l10n="U" xml-lang="en-US" oldref="18">Close #iNumber</paragraph>
+
+ <paragraph role="paragraph" id="par_id3145801" l10n="U" xml-lang="en-US" oldref="22">iNumber = Freefile</paragraph>
+ <paragraph role="paragraph" id="par_id3147396" l10n="U" xml-lang="en-US" oldref="23">Open aFile For Input As iNumber</paragraph>
+ <paragraph role="paragraph" id="par_id3147124" l10n="U" xml-lang="en-US" oldref="24">While not eof(iNumber)</paragraph>
+ <paragraph role="paragraph" id="par_id3154491" l10n="U" xml-lang="en-US" oldref="25">Line Input #iNumber, sLine</paragraph>
+ <paragraph role="paragraph" id="par_id3149581" l10n="U" xml-lang="en-US" oldref="26">If sLine &lt;&gt;&quot;&quot; then</paragraph>
+ <paragraph role="paragraph" id="par_id3155602" l10n="U" xml-lang="en-US" oldref="27">sMsg = sMsg &amp; sLine &amp; chr(13)</paragraph>
+ <paragraph role="paragraph" id="par_id3154511" l10n="U" xml-lang="en-US" oldref="29">end if</paragraph>
+ <paragraph role="paragraph" id="par_id3150749" l10n="U" xml-lang="en-US" oldref="30">wend</paragraph>
+ <paragraph role="paragraph" id="par_id3156276" l10n="U" xml-lang="en-US" oldref="31">Close #iNumber</paragraph>
+ <paragraph role="paragraph" id="par_id3155066" l10n="U" xml-lang="en-US" oldref="35">Msgbox sMsg</paragraph>
+ <paragraph role="paragraph" id="par_id3154754" l10n="U" xml-lang="en-US" oldref="32">End Sub</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03020102.xhp b/helpcontent2/source/text/sbasic/shared/03020102.xhp
new file mode 100755
index 0000000000..a8ff24fef2
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03020102.xhp
@@ -0,0 +1,109 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020102xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">FreeFile Function[Runtime]</title>
+<filename>/text/sbasic/shared/03020102.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="freefile">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3150400"><bookmark_value>FreeFile;function</bookmark_value></bookmark><paragraph id="hd_id3150400" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03020102.xhp" name="FreeFile Function[Runtime]">FreeFile Function[Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3154366" l10n="U" xml-lang="en-US" oldref="2">Returns the next available file number for opening a file. Use this function to open a file using a file number that is not already in use by a currently open file.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3150769" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3150869" l10n="U" xml-lang="en-US" oldref="4">FreeFile</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3151042" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3150440" l10n="U" xml-lang="en-US" oldref="6">Integer</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3148576" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph role="paragraph" id="par_id3155854" l10n="U" xml-lang="en-US" oldref="8">This function can only be used immediately in front of an Open statement. FreeFile returns the next available file number, but does not reserve it.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err67"/>
+ <paragraph role="heading" level="2" id="hd_id3159153" l10n="U" xml-lang="en-US" oldref="9">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3146120" l10n="U" xml-lang="en-US" oldref="10">Sub ExampleWorkWithAFile</paragraph>
+ <paragraph role="paragraph" id="par_id3154319" l10n="U" xml-lang="en-US" oldref="11">Dim iNumber As Integer</paragraph>
+ <paragraph role="paragraph" id="par_id3151117" l10n="U" xml-lang="en-US" oldref="12">Dim sLine As String</paragraph>
+ <paragraph role="paragraph" id="par_id3147426" l10n="U" xml-lang="en-US" oldref="13">Dim aFile As String</paragraph>
+ <paragraph role="paragraph" id="par_id3149667" l10n="U" xml-lang="en-US" oldref="36">Dim sMsg as String</paragraph>
+ <paragraph role="paragraph" id="par_id3145800" l10n="U" xml-lang="en-US" oldref="14">aFile = &quot;c:\data.txt&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3147396" l10n="U" xml-lang="en-US" oldref="15">sMsg = = &quot;&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3154490" l10n="U" xml-lang="en-US" oldref="16">iNumber = Freefile</paragraph>
+ <paragraph role="paragraph" id="par_id3151074" l10n="U" xml-lang="en-US" oldref="17">Open aFile For Output As #iNumber</paragraph>
+ <paragraph role="paragraph" id="par_id3155416" l10n="U" xml-lang="en-US" oldref="18">Print #iNumber, &quot;First line of text&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3153416" l10n="U" xml-lang="en-US" oldref="19">Print #iNumber, &quot;Another line of text&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3149401" l10n="U" xml-lang="en-US" oldref="20">Close #iNumber</paragraph>
+
+ <paragraph role="paragraph" id="par_id3150330" l10n="U" xml-lang="en-US" oldref="24">iNumber = Freefile</paragraph>
+ <paragraph role="paragraph" id="par_id3155067" l10n="U" xml-lang="en-US" oldref="25">Open aFile For Input As #iNumber</paragraph>
+ <paragraph role="paragraph" id="par_id3155443" l10n="U" xml-lang="en-US" oldref="26">While not eof(#iNumber)</paragraph>
+ <paragraph role="paragraph" id="par_id3153714" l10n="U" xml-lang="en-US" oldref="27">Line Input #iNumber, sLine</paragraph>
+ <paragraph role="paragraph" id="par_id3148408" l10n="U" xml-lang="en-US" oldref="28">If sLine &lt;&gt;&quot;&quot; then</paragraph>
+ <paragraph role="paragraph" id="par_id3156385" l10n="U" xml-lang="en-US" oldref="29">sMsg = sMsg &amp; sLine &amp; chr(13)</paragraph>
+ <paragraph role="paragraph" id="par_id3145147" l10n="U" xml-lang="en-US" oldref="31">end if</paragraph>
+ <paragraph role="paragraph" id="par_id3153966" l10n="U" xml-lang="en-US" oldref="32">wend</paragraph>
+ <paragraph role="paragraph" id="par_id3155961" l10n="U" xml-lang="en-US" oldref="33">Close #iNumber</paragraph>
+ <paragraph role="paragraph" id="par_id3149567" l10n="U" xml-lang="en-US" oldref="37">Msgbox sMsg</paragraph>
+ <paragraph role="paragraph" id="par_id3146917" l10n="U" xml-lang="en-US" oldref="34">End Sub</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03020103.xhp b/helpcontent2/source/text/sbasic/shared/03020103.xhp
new file mode 100644
index 0000000000..1bab125cd9
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03020103.xhp
@@ -0,0 +1,112 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************-->
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020103xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Open Statement[Runtime]</title>
+<filename>/text/sbasic/shared/03020103.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="open">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3150791"><bookmark_value>Open;statement</bookmark_value></bookmark><paragraph id="hd_id3150791" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03020103.xhp" name="Open Statement[Runtime]">Open Statement[Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3150769" l10n="U" xml-lang="en-US" oldref="2">Opens a data channel.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3147230" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3154124" l10n="U" xml-lang="en-US" oldref="4">Open FileName As String [For Modus] [Access IOMode] [protected] As [#]FileName As Integer [Len = Datasetlength]</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3156280" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3155132" xml-lang="en-US" oldref="6"><emph>FileName: </emph>Name and path of the file that you wan to open. If you try to read a file that does not exist (Access = Read), an error message appears. If you try to write to a file that does exist (Access = Write), a new file is created.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3149262" xml-lang="en-US" oldref="7"><emph>Mode:</emph> Keyword that specifies the file mode. Valid values: Append (append to sequential file), binary (data can be accessed by bytes using Get and Put), Input (opens data channel for reading), Output (opens data channel for writing), and Random (edits relative files).</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3154014" xml-lang="en-US" oldref="8"><emph>Access:</emph> Keyword that defines the access type. Valid values: Read (read-only), Write (write-only), Read Write (both).</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150011" xml-lang="en-US" oldref="9"><emph>Protected:</emph> Keyword that defines the security status of a file after opening. Valid values: Shared (file may be opened by other applications), Lock Read (file is protected against reading), Lock Write (file is protected against writing), Lock Read Write (denies file access).</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3153190" xml-lang="en-US" oldref="10"><emph>FileNumber:</emph> Any integer expression from 0 to 511 to indicate the number of a free data channel. You can then pass commands through the data channel to access the file. The file number must be determined by the FreeFile function immediately before the Open statement.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3151115" xml-lang="en-US" oldref="11"><emph>DatasetLength:</emph> For relative files, returns the length of a certain record. This parameter is only necessary if the file was opened for Random access.</paragraph>
+ <paragraph role="note" id="par_id3153418" l10n="U" xml-lang="en-US" oldref="12">You can only modify the contents of a file that was opened with the Open statement. If you try to open a file that is already open, an error message appears.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3149123" l10n="U" xml-lang="en-US" oldref="13">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3150749" l10n="U" xml-lang="en-US" oldref="14">Sub ExampleWorkWithAFile</paragraph>
+ <paragraph role="paragraph" id="par_id3155064" l10n="U" xml-lang="en-US" oldref="15">Dim iNumber As Integer</paragraph>
+ <paragraph role="paragraph" id="par_id3154754" l10n="U" xml-lang="en-US" oldref="16">Dim sLine As String</paragraph>
+ <paragraph role="paragraph" id="par_id3153711" l10n="U" xml-lang="en-US" oldref="17">Dim aFile As String</paragraph>
+ <paragraph role="paragraph" id="par_id3155764" l10n="U" xml-lang="en-US" oldref="40">Dim sMsg as String</paragraph>
+ <paragraph role="paragraph" id="par_id3159264" l10n="U" xml-lang="en-US" oldref="18">aFile = "c:\data.txt"</paragraph>
+
+ <paragraph role="paragraph" id="par_id3153963" l10n="U" xml-lang="en-US" oldref="20">iNumber = Freefile</paragraph>
+ <paragraph role="paragraph" id="par_id3155959" l10n="U" xml-lang="en-US" oldref="21">Open aFile For Output As #iNumber</paragraph>
+ <paragraph role="paragraph" id="par_id3154705" l10n="U" xml-lang="en-US" oldref="22">Print #iNumber, "This is a line of text"</paragraph>
+ <paragraph role="paragraph" id="par_id3146916" l10n="U" xml-lang="en-US" oldref="23">Print #iNumber, "This is another line of text"</paragraph>
+ <paragraph role="paragraph" id="par_id3150942" l10n="U" xml-lang="en-US" oldref="24">Close #iNumber</paragraph>
+
+ <paragraph role="paragraph" id="par_id3150300" l10n="U" xml-lang="en-US" oldref="28">iNumber = Freefile</paragraph>
+ <paragraph role="paragraph" id="par_id3154022" l10n="U" xml-lang="en-US" oldref="29">Open aFile For Input As iNumber</paragraph>
+ <paragraph role="paragraph" id="par_id3150783" l10n="U" xml-lang="en-US" oldref="30">While not eof(iNumber)</paragraph>
+ <paragraph role="paragraph" id="par_id3153270" l10n="U" xml-lang="en-US" oldref="31">Line Input #iNumber, sLine</paragraph>
+ <paragraph role="paragraph" id="par_id3153784" l10n="U" xml-lang="en-US" oldref="32">If sLine &lt;&gt;"" then</paragraph>
+ <paragraph role="paragraph" id="par_id3149208" l10n="U" xml-lang="en-US" oldref="33">sMsg = sMsg &amp; sLine &amp; chr(13)</paragraph>
+ <paragraph role="paragraph" id="par_id3150304" l10n="U" xml-lang="en-US" oldref="35">end if</paragraph>
+ <paragraph role="paragraph" id="par_id3151217" l10n="U" xml-lang="en-US" oldref="36">wend</paragraph>
+ <paragraph role="paragraph" id="par_id3152582" l10n="U" xml-lang="en-US" oldref="37">Close #iNumber</paragraph>
+ <paragraph role="paragraph" id="par_id3159100" l10n="U" xml-lang="en-US" oldref="41">Msgbox sMsg</paragraph>
+ <paragraph role="paragraph" id="par_id3159091" l10n="U" xml-lang="en-US" oldref="38">End Sub</paragraph>
+
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03020104.xhp b/helpcontent2/source/text/sbasic/shared/03020104.xhp
new file mode 100755
index 0000000000..f12b91a082
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03020104.xhp
@@ -0,0 +1,104 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020104xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Reset Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03020104.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-05-12T14:32:59">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="reset">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154141"><bookmark_value>Reset;statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3154141" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020104.xhp">Reset Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3156423" xml-lang="en-US" l10n="U" oldref="2">Closes all open files and writes the contents of all file buffers to the harddisk.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3154124" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3156281" xml-lang="en-US" l10n="U" oldref="4">Reset</paragraph>
+<paragraph role="heading" id="hd_id3161831" xml-lang="en-US" level="2" l10n="U" oldref="5">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3151113" xml-lang="en-US" l10n="U" oldref="37">Sub ExampleReset</paragraph>
+<paragraph role="paragraph" id="par_id3148575" xml-lang="en-US" l10n="U" oldref="38">On Error Goto ErrorHandler</paragraph>
+<paragraph role="paragraph" id="par_id3153093" xml-lang="en-US" l10n="U" oldref="39">Dim iNumber As Integer</paragraph>
+<paragraph role="paragraph" id="par_id3150011" xml-lang="en-US" l10n="U" oldref="40">Dim iCount As Integer</paragraph>
+<paragraph role="paragraph" id="par_id3153363" xml-lang="en-US" l10n="U" oldref="41">Dim sLine As String</paragraph>
+<paragraph role="paragraph" id="par_id3154320" xml-lang="en-US" l10n="U" oldref="42">Dim aFile As String</paragraph>
+<paragraph role="paragraph" id="par_id3163712" xml-lang="en-US" l10n="U" oldref="43">aFile = "c:\data.txt"</paragraph>
+<paragraph role="paragraph" id="par_id3146121" xml-lang="en-US" l10n="U" oldref="45">iNumber = Freefile</paragraph>
+<paragraph role="paragraph" id="par_id3154491" xml-lang="en-US" l10n="U" oldref="46">Open aFile For Output As #iNumber</paragraph>
+<paragraph role="paragraph" id="par_id3148455" xml-lang="en-US" l10n="U" oldref="47">Print #iNumber, "This is a new line of text"</paragraph>
+<paragraph role="paragraph" id="par_id3145646" xml-lang="en-US" l10n="U" oldref="48">Close #iNumber</paragraph>
+<paragraph role="paragraph" id="par_id3149410" xml-lang="en-US" l10n="U" oldref="50">iNumber = Freefile</paragraph>
+<paragraph role="paragraph" id="par_id3147126" xml-lang="en-US" l10n="U" oldref="51">Open aFile For Input As iNumber</paragraph>
+<paragraph role="paragraph" id="par_id3154510" xml-lang="en-US" l10n="U" oldref="52">For iCount = 1 to 5</paragraph>
+<paragraph role="paragraph" id="par_id3146971" xml-lang="en-US" l10n="U" oldref="53">Line Input #iNumber, sLine</paragraph>
+<paragraph role="paragraph" id="par_id3156277" xml-lang="en-US" l10n="U" oldref="54">If sLine &lt;&gt;"" then</paragraph>
+<paragraph role="paragraph" id="par_id3153707" xml-lang="en-US" l10n="U" oldref="55">rem</paragraph>
+<paragraph role="paragraph" id="par_id3150322" xml-lang="en-US" l10n="U" oldref="56">end if</paragraph>
+<paragraph role="paragraph" id="par_id3148405" xml-lang="en-US" l10n="U" oldref="57">Next iCount</paragraph>
+<paragraph role="paragraph" id="par_id3153711" xml-lang="en-US" l10n="U" oldref="58">Close #iNumber</paragraph>
+<paragraph role="paragraph" id="par_id3156382" xml-lang="en-US" l10n="U" oldref="59">Exit Sub</paragraph>
+<paragraph role="paragraph" id="par_id3159264" xml-lang="en-US" l10n="U" oldref="60">ErrorHandler:</paragraph>
+<paragraph role="paragraph" id="par_id3145147" xml-lang="en-US" l10n="U" oldref="61">Reset</paragraph>
+<paragraph role="paragraph" id="par_id3163805" xml-lang="en-US" l10n="U" oldref="62">MsgBox "All files will be closed",0,"Error"</paragraph>
+<paragraph role="paragraph" id="par_id3147364" xml-lang="en-US" l10n="U" oldref="63">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03020200.xhp b/helpcontent2/source/text/sbasic/shared/03020200.xhp
new file mode 100755
index 0000000000..d6621fdb47
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03020200.xhp
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020200xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Input/Output</title>
+<filename>/text/sbasic/shared/03020200.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="eingabeeinaus">
+ <paragraph id="hd_id3150791" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03020200.xhp" name="Input/Output">Input/Output</link></paragraph>
+ <paragraph role="paragraph" id="par_id3150542" l10n="U" xml-lang="en-US" oldref="2">The following are file input/output functions.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/03020201.xhp#get"/>
+ <embed href="text/sbasic/shared/03020202.xhp#input"/>
+ <embed href="text/sbasic/shared/03020203.xhp#lineinput"/>
+ <embed href="text/sbasic/shared/03020204.xhp#put"/>
+ <embed href="text/sbasic/shared/03020205.xhp#write"/>
+ <embed href="text/sbasic/shared/03020302.xhp#loc"/>
+ <embed href="text/sbasic/shared/03020304.xhp#seek"/>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03020201.xhp b/helpcontent2/source/text/sbasic/shared/03020201.xhp
new file mode 100755
index 0000000000..658407ccd4
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03020201.xhp
@@ -0,0 +1,113 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020201xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Get Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03020201.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-05-12T14:34:06">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="get">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154927"><bookmark_value>Get;statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3154927" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020201.xhp">Get Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3145069" xml-lang="en-US" l10n="U" oldref="2">Reads a record from a relative file, or a sequence of bytes from a binary file, into a variable.</paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3154346" xml-lang="en-US" l10n="U" oldref="3">See also: <link href="text/sbasic/shared/03020204.xhp" name="PUT">PUT</link> Statement</paragraph>
+<paragraph role="heading" id="hd_id3150358" xml-lang="en-US" level="2" l10n="U" oldref="4">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3150792" xml-lang="en-US" l10n="U" oldref="5">Get [#] FileNumber As Integer, [Position], Variable</paragraph>
+<paragraph role="heading" id="hd_id3154138" xml-lang="en-US" level="2" l10n="U" oldref="6">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3150448" xml-lang="en-US" l10n="U" oldref="7">
+<emph>FileNumber:</emph> Any integer expression that determines the file number.</paragraph>
+<paragraph role="paragraph" id="par_id3154684" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Position:</emph> For files opened in Random mode, <emph>Position</emph> is the number of the record that you want to read.</paragraph>
+<paragraph role="paragraph" id="par_id3153768" xml-lang="en-US" l10n="U" oldref="9">For files opened in Binary mode, <emph>Position</emph> is the byte position in the file where the reading starts.</paragraph>
+<paragraph role="paragraph" id="par_id3147319" xml-lang="en-US" l10n="U" oldref="10">If <emph>Position</emph> is omitted, the current position or the current data record of the file is used.</paragraph>
+<paragraph role="paragraph" id="par_id3149484" xml-lang="en-US" l10n="U" oldref="11">Variable: Name of the variable to be read. With the exception of object variables, you can use any variable type.</paragraph>
+<paragraph role="heading" id="hd_id3153144" xml-lang="en-US" level="2" l10n="U" oldref="12">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3159154" xml-lang="en-US" l10n="U" oldref="13">Sub ExampleRandomAccess</paragraph>
+<paragraph role="paragraph" id="par_id3153188" xml-lang="en-US" l10n="U" oldref="14">Dim iNumber As Integer</paragraph>
+<paragraph role="paragraph" id="par_id3155307" xml-lang="en-US" l10n="U" oldref="15">Dim sText As Variant REM Must be a variant</paragraph>
+<paragraph role="paragraph" id="par_id3152577" xml-lang="en-US" l10n="U" oldref="16">Dim aFile As String</paragraph>
+<paragraph role="paragraph" id="par_id3153726" xml-lang="en-US" l10n="U" oldref="17">aFile = "c:\data.txt"</paragraph>
+<paragraph role="paragraph" id="par_id3154490" xml-lang="en-US" l10n="U" oldref="19">iNumber = Freefile</paragraph>
+<paragraph role="paragraph" id="par_id3150418" xml-lang="en-US" l10n="U" oldref="20">Open aFile For Random As #iNumber Len=32</paragraph>
+<paragraph role="paragraph" id="par_id3149411" xml-lang="en-US" l10n="U" oldref="21">Seek #iNumber,1 REM Position at beginning</paragraph>
+<paragraph role="paragraph" id="par_id3153158" xml-lang="en-US" l10n="U" oldref="22">Put #iNumber,, "This is the first line of text" REM Fill line with text</paragraph>
+<paragraph role="paragraph" id="par_id3148457" xml-lang="en-US" l10n="U" oldref="23">Put #iNumber,, "This is the second line of text"</paragraph>
+<paragraph role="paragraph" id="par_id3150715" xml-lang="en-US" l10n="U" oldref="24">Put #iNumber,, "This is the third line of text"</paragraph>
+<paragraph role="paragraph" id="par_id3153836" xml-lang="en-US" l10n="U" oldref="25">Seek #iNumber,2</paragraph>
+<paragraph role="paragraph" id="par_id3150327" xml-lang="en-US" l10n="U" oldref="26">Get #iNumber,,sText</paragraph>
+<paragraph role="paragraph" id="par_id3153707" xml-lang="en-US" l10n="U" oldref="27">Print sText</paragraph>
+<paragraph role="paragraph" id="par_id3153764" xml-lang="en-US" l10n="U" oldref="28">Close #iNumber</paragraph>
+<paragraph role="paragraph" id="par_id3153715" xml-lang="en-US" l10n="U" oldref="30">iNumber = Freefile</paragraph>
+<paragraph role="paragraph" id="par_id3154256" xml-lang="en-US" l10n="U" oldref="31">Open aFile For Random As #iNumber Len=32</paragraph>
+<paragraph role="paragraph" id="par_id3147340" xml-lang="en-US" l10n="U" oldref="32">Get #iNumber,2,sText</paragraph>
+<paragraph role="paragraph" id="par_id3155938" xml-lang="en-US" l10n="U" oldref="33">Put #iNumber,,"This is a new text"</paragraph>
+<paragraph role="paragraph" id="par_id3155959" xml-lang="en-US" l10n="U" oldref="34">Get #iNumber,1,sText</paragraph>
+<paragraph role="paragraph" id="par_id3147361" xml-lang="en-US" l10n="U" oldref="35">Get #iNumber,2,sText</paragraph>
+<paragraph role="paragraph" id="par_id3146916" xml-lang="en-US" l10n="U" oldref="36">Put #iNumber,20,"This is the text in record 20"</paragraph>
+<paragraph role="paragraph" id="par_id3149259" xml-lang="en-US" l10n="U" oldref="37">Print Lof(#iNumber)</paragraph>
+<paragraph role="paragraph" id="par_id3153790" xml-lang="en-US" l10n="U" oldref="38">Close #iNumber</paragraph>
+<paragraph role="paragraph" id="par_id3155606" xml-lang="en-US" l10n="U" oldref="40">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03020202.xhp b/helpcontent2/source/text/sbasic/shared/03020202.xhp
new file mode 100755
index 0000000000..b524fc9c3e
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03020202.xhp
@@ -0,0 +1,109 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020202xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Input# Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03020202.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="input">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3154908"><bookmark_value>Input;function</bookmark_value></bookmark><paragraph id="hd_id3154908" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03020202.xhp" name="Input# Statement [Runtime]">Input# Statement [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3156424" l10n="U" xml-lang="en-US" oldref="2">Reads data from an open sequential file.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3125863" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3150440" l10n="U" xml-lang="en-US" oldref="4">Input #FileNumber As Integer; var1[, var2[, var3[,...]]]</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3146121" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3145749" xml-lang="en-US" oldref="6"><emph>FileNumber:</emph> Number of the file that contains the data that you want to read. The file must be opened with the Open statement using the key word INPUT.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150011" xml-lang="en-US" oldref="7"><emph>var:</emph> A numeric or string variable that you assign the values read from the opened file to.</paragraph>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3159153" l10n="U" oldref="8">The <emph>Input#</emph> statement reads numeric values or strings from an open file and assigns the data to one or more variables. A numeric variable is read up to the first carriage return (Asc=13), line feed (Asc=10), space, or comma. String variables are read to up to the first carriage return (Asc=13), line feed (Asc=10), or comma.</paragraph>
+ <paragraph role="paragraph" id="par_id3146984" l10n="U" xml-lang="en-US" oldref="9">Data and data types in the opened file must appear in the same order as the variables that are passed in the &quot;var&quot; parameter. If you assign non-numeric values to a numeric variable, &quot;var&quot; is assigned a value of &quot;0&quot;.</paragraph>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3156442" l10n="U" oldref="10">Records that are separated by commas, commas cannot be assigned to a string variable. Quotation marks (&quot;) in the file are disregarded as well. If you want to read these characters from the file, use the <emph>Line Input#</emph> statement to read pure text files (files containing only printable characters) line by line.</paragraph>
+ <paragraph role="paragraph" id="par_id3147349" l10n="U" xml-lang="en-US" oldref="11">If the end of the file is reached while reading a data element, an error occurs and the process is aborted.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3152578" l10n="U" xml-lang="en-US" oldref="12">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3144765" l10n="U" xml-lang="en-US" oldref="13">Sub ExampleWorkWithAFile</paragraph>
+ <paragraph role="paragraph" id="par_id3145799" l10n="U" xml-lang="en-US" oldref="14">Dim iNumber As Integer</paragraph>
+ <paragraph role="paragraph" id="par_id3145252" l10n="U" xml-lang="en-US" oldref="15">Dim sLine As String</paragraph>
+ <paragraph role="paragraph" id="par_id3149410" l10n="U" xml-lang="en-US" oldref="16">Dim aFile As String</paragraph>
+ <paragraph role="paragraph" id="par_id3149959" l10n="U" xml-lang="en-US" oldref="39">Dim sMsg as String</paragraph>
+ <paragraph role="paragraph" id="par_id3153417" l10n="U" xml-lang="en-US" oldref="17">aFile = &quot;c:\data.txt&quot;</paragraph>
+
+ <paragraph role="paragraph" id="par_id3150752" l10n="U" xml-lang="en-US" oldref="19">iNumber = Freefile</paragraph>
+ <paragraph role="paragraph" id="par_id3153707" l10n="U" xml-lang="en-US" oldref="20">Open aFile For Output As #iNumber</paragraph>
+ <paragraph role="paragraph" id="par_id3150321" l10n="U" xml-lang="en-US" oldref="21">Print #iNumber, &quot;This is a line of text&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3154756" l10n="U" xml-lang="en-US" oldref="22">Print #iNumber, &quot;This is another line of text&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3148408" l10n="U" xml-lang="en-US" oldref="23">Close #iNumber</paragraph>
+
+ <paragraph role="paragraph" id="par_id3155937" l10n="U" xml-lang="en-US" oldref="27">iNumber = Freefile</paragraph>
+ <paragraph role="paragraph" id="par_id3154702" l10n="U" xml-lang="en-US" oldref="28">Open aFile For Input As iNumber</paragraph>
+ <paragraph role="paragraph" id="par_id3155959" l10n="U" xml-lang="en-US" oldref="29">While not eof(iNumber)</paragraph>
+ <paragraph role="paragraph" id="par_id3145232" l10n="U" xml-lang="en-US" oldref="30">Line Input #iNumber, sLine</paragraph>
+ <paragraph role="paragraph" id="par_id3147345" l10n="U" xml-lang="en-US" oldref="31">If sLine &lt;&gt;&quot;&quot; then</paragraph>
+ <paragraph role="paragraph" id="par_id3150298" l10n="U" xml-lang="en-US" oldref="32">sMsg = sMsg &amp; sLine &amp; chr(13)</paragraph>
+ <paragraph role="paragraph" id="par_id3154021" l10n="U" xml-lang="en-US" oldref="34">end if</paragraph>
+ <paragraph role="paragraph" id="par_id3154665" l10n="U" xml-lang="en-US" oldref="35">wend</paragraph>
+ <paragraph role="paragraph" id="par_id3155607" l10n="U" xml-lang="en-US" oldref="36">Close #iNumber</paragraph>
+ <paragraph role="paragraph" id="par_id3153268" l10n="U" xml-lang="en-US" oldref="40">Msgbox sMsg</paragraph>
+ <paragraph role="paragraph" id="par_id3152584" l10n="U" xml-lang="en-US" oldref="37">End Sub</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03020203.xhp b/helpcontent2/source/text/sbasic/shared/03020203.xhp
new file mode 100755
index 0000000000..3a12b97e51
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03020203.xhp
@@ -0,0 +1,106 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020203xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Line Input # Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03020203.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="lineinput">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3153361"><bookmark_value>Line;function</bookmark_value></bookmark><paragraph id="hd_id3153361" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03020203.xhp" name="Line Input # Statement [Runtime]">Line Input # Statement [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3156280" l10n="U" xml-lang="en-US" oldref="2">Reads strings from a sequential file into a variable.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3150447" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3147229" l10n="U" xml-lang="en-US" oldref="4">Line Input #FileNumber As Integer, Var As String </paragraph>
+ <paragraph role="heading" level="2" id="hd_id3145173" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3161832" xml-lang="en-US" oldref="6"><emph>FileNumber: </emph>Number of the file that contains the data that you want to read. The file must have been opened in advance with the Open statement using the key word READ.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3151119" xml-lang="en-US" oldref="7"><emph>var:</emph> The name of the variable that stores the result.</paragraph>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3150010" l10n="U" oldref="8">With the <emph>Line Input#</emph> statement, you can read strings from an open file into a variable. String variables are read line-by-line up to the first carriage return (Asc=13) or linefeed (Asc=10). Line end marks are not included in the resulting string.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3163711" l10n="U" xml-lang="en-US" oldref="9">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3145271" l10n="U" xml-lang="en-US" oldref="10">Sub ExampleWorkWithAFile</paragraph>
+ <paragraph role="paragraph" id="par_id3156444" l10n="U" xml-lang="en-US" oldref="11">Dim iNumber As Integer</paragraph>
+ <paragraph role="paragraph" id="par_id3147349" l10n="U" xml-lang="en-US" oldref="12">Dim sLine As String</paragraph>
+ <paragraph role="paragraph" id="par_id3149664" l10n="U" xml-lang="en-US" oldref="13">Dim aFile As String</paragraph>
+ <paragraph role="paragraph" id="par_id3147436" l10n="U" xml-lang="en-US" oldref="36">Dim sMsg as String</paragraph>
+ <paragraph role="paragraph" id="par_id3154730" l10n="U" xml-lang="en-US" oldref="14">aFile = &quot;c:\data.txt&quot;</paragraph>
+
+ <paragraph role="paragraph" id="par_id3145647" l10n="U" xml-lang="en-US" oldref="16">iNumber = Freefile</paragraph>
+ <paragraph role="paragraph" id="par_id3149959" l10n="U" xml-lang="en-US" oldref="17">Open aFile For Output As #iNumber</paragraph>
+ <paragraph role="paragraph" id="par_id3147124" l10n="U" xml-lang="en-US" oldref="18">Print #iNumber, &quot;This is a line of text&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3153415" l10n="U" xml-lang="en-US" oldref="19">Print #iNumber, &quot;This is another line of text&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3146969" l10n="U" xml-lang="en-US" oldref="20">Close #iNumber</paragraph>
+
+ <paragraph role="paragraph" id="par_id3154482" l10n="U" xml-lang="en-US" oldref="24">iNumber = Freefile</paragraph>
+ <paragraph role="paragraph" id="par_id3150321" l10n="U" xml-lang="en-US" oldref="25">Open aFile For Input As iNumber</paragraph>
+ <paragraph role="paragraph" id="par_id3155443" l10n="U" xml-lang="en-US" oldref="26">While not eof(iNumber)</paragraph>
+ <paragraph role="paragraph" id="par_id3155764" l10n="U" xml-lang="en-US" oldref="27">Line Input #iNumber, sLine</paragraph>
+ <paragraph role="paragraph" id="par_id3156382" l10n="U" xml-lang="en-US" oldref="28">If sLine &lt;&gt;&quot;&quot; then</paragraph>
+ <paragraph role="paragraph" id="par_id3147338" l10n="U" xml-lang="en-US" oldref="29">sMsg = sMsg &amp; sLine &amp; chr(13)</paragraph>
+ <paragraph role="paragraph" id="par_id3147362" l10n="U" xml-lang="en-US" oldref="31">end if</paragraph>
+ <paragraph role="paragraph" id="par_id3155333" l10n="U" xml-lang="en-US" oldref="32">wend</paragraph>
+ <paragraph role="paragraph" id="par_id3153965" l10n="U" xml-lang="en-US" oldref="33">Close #iNumber</paragraph>
+ <paragraph role="paragraph" id="par_id3147345" l10n="U" xml-lang="en-US" oldref="37">Msgbox sMsg</paragraph>
+ <paragraph role="paragraph" id="par_id3149257" l10n="U" xml-lang="en-US" oldref="34">End Sub</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03020204.xhp b/helpcontent2/source/text/sbasic/shared/03020204.xhp
new file mode 100755
index 0000000000..4ef0a0efff
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03020204.xhp
@@ -0,0 +1,114 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020204xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Put Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03020204.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="put">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3150360"><bookmark_value>Put;function</bookmark_value></bookmark><paragraph id="hd_id3150360" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03020204.xhp" name="Put Statement [Runtime]">Put Statement [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3154909" l10n="U" xml-lang="en-US" oldref="2">Writes a record to a relative file or a sequence of bytes to a binary file.</paragraph>
+ </section>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3156281" l10n="U" oldref="3">See also: <link href="text/sbasic/shared/03020201.xhp" name="Get">Get</link> statement</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3125863" l10n="U" xml-lang="en-US" oldref="4">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3155132" l10n="U" xml-lang="en-US" oldref="5">Put [#] FileNumber As Integer, [position], Variable</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3153190" l10n="U" xml-lang="en-US" oldref="6">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3146120" xml-lang="en-US" oldref="7"><emph>FileNumber:</emph> Any integer expression that defines the file that you want to write to.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3155411" xml-lang="en-US" oldref="8"><emph>Position: </emph>For relative files (random access files), the number of the record that you want to write.</paragraph>
+ <paragraph role="paragraph" id="par_id3148576" l10n="U" xml-lang="en-US" oldref="9">For binary files (binary access), the position of the byte in the file where you want to start writing.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3153729" xml-lang="en-US" oldref="10"><emph>Variable:</emph> Name of the variable that you want to write to the file.</paragraph>
+ <paragraph xml-lang="en-US" oldref="11" role="paragraph" id="par_id3146974" l10n="U">Note for relative files: If the contents of this variable does not match the length of the record that is specified in the <emph>Len</emph> clause of the <emph>Open</emph> statement, the space between the end of the newly written record and the next record is padded with existing data from the file that you are writing to.</paragraph>
+ <paragraph role="paragraph" id="par_id3155855" l10n="U" xml-lang="en-US" oldref="12">Note for binary files: The contents of the variables are written to the specified position, and the file pointer is inserted directly after the last byte. No space is left between the records.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3154491" l10n="U" xml-lang="en-US" oldref="13">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3149410" l10n="U" xml-lang="en-US" oldref="14">Sub ExampleRandomAccess</paragraph>
+ <paragraph role="paragraph" id="par_id3149959" l10n="U" xml-lang="en-US" oldref="15">Dim iNumber As Integer</paragraph>
+ <paragraph role="paragraph" id="par_id3154729" l10n="U" xml-lang="en-US" oldref="16">Dim sText As Variant REM Must be a variant type</paragraph>
+ <paragraph role="paragraph" id="par_id3156286" l10n="U" xml-lang="en-US" oldref="17">Dim aFile As String</paragraph>
+ <paragraph role="paragraph" id="par_id3149400" l10n="U" xml-lang="en-US" oldref="18">aFile = &quot;c:\data.txt&quot;</paragraph>
+
+ <paragraph role="paragraph" id="par_id3149124" l10n="U" xml-lang="en-US" oldref="20">iNumber = Freefile</paragraph>
+ <paragraph role="paragraph" id="par_id3150330" l10n="U" xml-lang="en-US" oldref="21">Open aFile For Random As #iNumber Len=32</paragraph>
+ <paragraph role="paragraph" id="par_id3156278" l10n="U" xml-lang="en-US" oldref="22">Seek #iNumber,1 REM Position to start writing</paragraph>
+ <paragraph role="paragraph" id="par_id3153711" l10n="U" xml-lang="en-US" oldref="23">Put #iNumber,, &quot;This is the first line of text&quot; REM Fill line with text</paragraph>
+ <paragraph role="paragraph" id="par_id3155446" l10n="U" xml-lang="en-US" oldref="24">Put #iNumber,, &quot;This is the second line of text&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3154255" l10n="U" xml-lang="en-US" oldref="25">Put #iNumber,, &quot;This is the third line of text&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3150045" l10n="U" xml-lang="en-US" oldref="26">Seek #iNumber,2</paragraph>
+ <paragraph role="paragraph" id="par_id3145149" l10n="U" xml-lang="en-US" oldref="27">Get #iNumber,,sText</paragraph>
+ <paragraph role="paragraph" id="par_id3147363" l10n="U" xml-lang="en-US" oldref="28">Print sText</paragraph>
+ <paragraph role="paragraph" id="par_id3163806" l10n="U" xml-lang="en-US" oldref="29">Close #iNumber</paragraph>
+
+ <paragraph role="paragraph" id="par_id3149568" l10n="U" xml-lang="en-US" oldref="31">iNumber = Freefile</paragraph>
+ <paragraph role="paragraph" id="par_id3155607" l10n="U" xml-lang="en-US" oldref="32">Open aFile For Random As #iNumber Len=32</paragraph>
+ <paragraph role="paragraph" id="par_id3154022" l10n="U" xml-lang="en-US" oldref="33">Get #iNumber,2,sText</paragraph>
+ <paragraph role="paragraph" id="par_id3150940" l10n="U" xml-lang="en-US" oldref="34">Put #iNumber,,&quot;This is new text&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3146132" l10n="U" xml-lang="en-US" oldref="35">Get #iNumber,1,sText</paragraph>
+ <paragraph role="paragraph" id="par_id3154198" l10n="U" xml-lang="en-US" oldref="36">Get #iNumber,2,sText</paragraph>
+ <paragraph role="paragraph" id="par_id3159102" l10n="U" xml-lang="en-US" oldref="37">Put #iNumber,20,&quot;This is the text in record 20&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3153785" l10n="U" xml-lang="en-US" oldref="38">Print Lof(#iNumber)</paragraph>
+ <paragraph role="paragraph" id="par_id3151277" l10n="U" xml-lang="en-US" oldref="39">Close #iNumber</paragraph>
+
+ <paragraph role="paragraph" id="par_id3150786" l10n="U" xml-lang="en-US" oldref="41">end sub</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03020205.xhp b/helpcontent2/source/text/sbasic/shared/03020205.xhp
new file mode 100755
index 0000000000..213f86f57f
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03020205.xhp
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020205xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Write Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03020205.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="write">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3147229"><bookmark_value>Write;function</bookmark_value></bookmark><paragraph id="hd_id3147229" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03020205.xhp" name="Write Statement [Runtime]">Write Statement [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3154685" l10n="U" xml-lang="en-US" oldref="2">Writes data to a sequential file.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3150449" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3145785" l10n="U" xml-lang="en-US" oldref="4">Write [#]FileName, [Expressionlist]</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3151116" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3153728" xml-lang="en-US" oldref="6"><emph>FileName:</emph> Any numeric expression that contains the file number that was set by the Open statement for the respective file.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3146120" xml-lang="en-US" oldref="7"><emph>Expressionlist:</emph> Variables or expressions that you want to enter in a file, separated by commas.</paragraph>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3150010" l10n="U" oldref="8">If the expression list is omitted, the <emph>Write#</emph> statement appends an empty line to the file.</paragraph>
+ <paragraph xml-lang="en-US" oldref="9" role="paragraph" id="par_id3163713" l10n="U">To add an expression list to a new or an existing file, the file must be opened in the <emph> Output</emph> or <emph>Append</emph> mode.</paragraph>
+ <paragraph xml-lang="en-US" oldref="10" role="paragraph" id="par_id3147428" l10n="U">The <emph>Write#</emph> statement enters data that is enclosed by quotation marks and separated by commas into a file. You do not need to use delimiters in the list. The end of a file created with the <emph>Write#</emph> statement is indicated by a line end symbol.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3151073" l10n="U" xml-lang="en-US" oldref="11">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3145252" l10n="U" xml-lang="en-US" oldref="12">Sub ExampleWrite</paragraph>
+ <paragraph role="paragraph" id="par_id3149958" l10n="U" xml-lang="en-US" oldref="13">Dim iCount As Integer</paragraph>
+ <paragraph role="paragraph" id="par_id3156284" l10n="U" xml-lang="en-US" oldref="14">Dim sValue As String</paragraph>
+ <paragraph role="paragraph" id="par_id3145645" l10n="U" xml-lang="en-US" oldref="15">iCount = Freefile</paragraph>
+ <paragraph role="paragraph" id="par_id3153417" l10n="U" xml-lang="en-US" oldref="16">open &quot;C:\data.txt&quot; for OutPut as iCount</paragraph>
+ <paragraph role="paragraph" id="par_id3149401" l10n="U" xml-lang="en-US" oldref="17">sValue = &quot;Hamburg&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3156275" l10n="U" xml-lang="en-US" oldref="18">Write #iCount,sValue,200</paragraph>
+ <paragraph role="paragraph" id="par_id3146913" l10n="U" xml-lang="en-US" oldref="19">sValue = &quot;New York&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3155064" l10n="U" xml-lang="en-US" oldref="20">Write #iCount,sValue,300</paragraph>
+ <paragraph role="paragraph" id="par_id3150322" l10n="U" xml-lang="en-US" oldref="21">sValue = &quot;Miami&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3155766" l10n="U" xml-lang="en-US" oldref="22">Write #iCount,sValue,450</paragraph>
+ <paragraph role="paragraph" id="par_id3145643" l10n="U" xml-lang="en-US" oldref="23">close #iCount</paragraph>
+ <paragraph role="paragraph" id="par_id3150044" l10n="U" xml-lang="en-US" oldref="24">end sub</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03020301.xhp b/helpcontent2/source/text/sbasic/shared/03020301.xhp
new file mode 100755
index 0000000000..ee4921ca87
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03020301.xhp
@@ -0,0 +1,110 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020301xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Eof Function [Runtime]</title>
+<filename>/text/sbasic/shared/03020301.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="eof">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3154598"><bookmark_value>Eof; function</bookmark_value></bookmark><paragraph id="hd_id3154598" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03020301.xhp" name="Eof Function [Runtime]">Eof Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3147182" l10n="U" xml-lang="en-US" oldref="2">Determines if the file pointer has reached the end of a file.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3149119" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3147399" l10n="U" xml-lang="en-US" oldref="4">Eof (intexpression As Integer)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3153539" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3156027" l10n="U" xml-lang="en-US" oldref="6">Bool</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3152924" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3153990" xml-lang="en-US" oldref="8"><emph>Intexpression:</emph> Any integer expression that evaluates to the number of an open file.</paragraph>
+ <paragraph role="paragraph" id="par_id3153527" l10n="U" xml-lang="en-US" oldref="9">Use EOF to avoid errors when you attempt to get input past the end of a file. When you use the Input or Get statement to read from a file, the file pointer is advanced by the number of bytes read. When the end of a file is reached, EOF returns the value &quot;True&quot; (-1).</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err52"/>
+ <paragraph role="heading" level="2" id="hd_id3154046" l10n="U" xml-lang="en-US" oldref="10">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3143270" l10n="U" xml-lang="en-US" oldref="11">Sub ExampleWorkWithAFile</paragraph>
+ <paragraph role="paragraph" id="par_id3150670" l10n="U" xml-lang="en-US" oldref="12">Dim iNumber As Integer</paragraph>
+ <paragraph role="paragraph" id="par_id3154143" l10n="U" xml-lang="en-US" oldref="13">Dim sLine As String</paragraph>
+ <paragraph role="paragraph" id="par_id3148943" l10n="U" xml-lang="en-US" oldref="14">Dim aFile As String</paragraph>
+ <paragraph role="paragraph" id="par_id3153897" l10n="U" xml-lang="en-US" oldref="37">Dim sMsg as String</paragraph>
+ <paragraph role="paragraph" id="par_id3156344" l10n="U" xml-lang="en-US" oldref="15">aFile = &quot;c:\data.txt&quot;</paragraph>
+
+ <paragraph role="paragraph" id="par_id3148663" l10n="U" xml-lang="en-US" oldref="17">iNumber = Freefile</paragraph>
+ <paragraph role="paragraph" id="par_id3153379" l10n="U" xml-lang="en-US" oldref="18">Open aFile For Output As #iNumber</paragraph>
+ <paragraph role="paragraph" id="par_id3153360" l10n="U" xml-lang="en-US" oldref="19">Print #iNumber, &quot;First line of text&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3148797" l10n="U" xml-lang="en-US" oldref="20">Print #iNumber, &quot;Another line of text&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3154684" l10n="U" xml-lang="en-US" oldref="21">Close #iNumber</paragraph>
+
+ <paragraph role="paragraph" id="par_id3153104" l10n="U" xml-lang="en-US" oldref="25">iNumber = Freefile</paragraph>
+ <paragraph role="paragraph" id="par_id3144761" l10n="U" xml-lang="en-US" oldref="26">Open aFile For Input As iNumber</paragraph>
+ <paragraph role="paragraph" id="par_id3153193" l10n="U" xml-lang="en-US" oldref="27">While not eof(iNumber)</paragraph>
+ <paragraph role="paragraph" id="par_id3158408" l10n="U" xml-lang="en-US" oldref="28">Line Input #iNumber, sLine</paragraph>
+ <paragraph role="paragraph" id="par_id3149203" l10n="U" xml-lang="en-US" oldref="29">If sLine &lt;&gt;&quot;&quot; then</paragraph>
+ <paragraph role="paragraph" id="par_id3153770" l10n="U" xml-lang="en-US" oldref="30">sMsg = sMsg &amp; sLine &amp; chr(13)</paragraph>
+ <paragraph role="paragraph" id="par_id3153367" l10n="U" xml-lang="en-US" oldref="32">end if</paragraph>
+ <paragraph role="paragraph" id="par_id3147318" l10n="U" xml-lang="en-US" oldref="33">wend</paragraph>
+ <paragraph role="paragraph" id="par_id3152939" l10n="U" xml-lang="en-US" oldref="34">Close #iNumber</paragraph>
+ <paragraph role="paragraph" id="par_id3153726" l10n="U" xml-lang="en-US" oldref="38">Msgbox sMsg</paragraph>
+ <paragraph role="paragraph" id="par_id3153092" l10n="U" xml-lang="en-US" oldref="35">End Sub</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03020302.xhp b/helpcontent2/source/text/sbasic/shared/03020302.xhp
new file mode 100755
index 0000000000..731b329d90
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03020302.xhp
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020302xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Loc Function [Runtime]</title>
+<filename>/text/sbasic/shared/03020302.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="loc">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3148663"><bookmark_value>Loc;function</bookmark_value></bookmark><paragraph id="hd_id3148663" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03020302.xhp" name="Loc Function [Runtime]">Loc Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3154138" l10n="U" xml-lang="en-US" oldref="2">Returns the current position in an open file.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3156422" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3150768" l10n="U" xml-lang="en-US" oldref="4">Loc (FileNumber)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3150440" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3152578" l10n="U" xml-lang="en-US" oldref="6">Long</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3152462" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3153363" xml-lang="en-US" oldref="8"><emph>FileNumber:</emph> Any numeric expression that contains the file number that is set by the Open statement for the respective file.</paragraph>
+ <paragraph role="paragraph" id="par_id3154320" l10n="U" xml-lang="en-US" oldref="9">If the Loc function is used for an open random access file, it returns the number of the last record that was last read or written.</paragraph>
+ <paragraph role="paragraph" id="par_id3151115" l10n="U" xml-lang="en-US" oldref="10">For a sequential file, the Loc function returns the position in a file divided by 128. For binary files, the position of the last read or written byte is returned.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err52"/>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03020303.xhp b/helpcontent2/source/text/sbasic/shared/03020303.xhp
new file mode 100644
index 0000000000..f408b7ec2b
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03020303.xhp
@@ -0,0 +1,116 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************-->
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020303xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Lof Function [Runtime]</title>
+<filename>/text/sbasic/shared/03020303.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="lof">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3156024"><bookmark_value>Lof;function</bookmark_value></bookmark><paragraph id="hd_id3156024" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03020303.xhp" name="Lof Function [Runtime]">Lof Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3146794" l10n="U" xml-lang="en-US" oldref="2">Returns the size of an open file in bytes.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3153380" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3150359" l10n="U" xml-lang="en-US" oldref="4">Lof (FileNumber)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3154141" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3147230" l10n="U" xml-lang="en-US" oldref="6">Long</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3156281" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150869" xml-lang="en-US" oldref="8"><emph>FileNumber:</emph> Any numeric expression that contains the file number that is specified in the Open statement.</paragraph>
+ <paragraph xml-lang="en-US" role="tip" id="par_id3147349" l10n="U" oldref="9">To obtain the length of a file that is not open, use the <emph>FileLen</emph> function.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err52"/>
+ <paragraph role="heading" level="2" id="hd_id3155415" l10n="U" xml-lang="en-US" oldref="10">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3151074" l10n="U" xml-lang="en-US" oldref="11">Sub ExampleRandomAccess</paragraph>
+ <paragraph role="paragraph" id="par_id3145251" l10n="U" xml-lang="en-US" oldref="12">Dim iNumber As Integer</paragraph>
+ <paragraph role="paragraph" id="par_id3154730" l10n="U" xml-lang="en-US" oldref="13">Dim sText As Variant REM must be a Variant</paragraph>
+ <paragraph role="paragraph" id="par_id3145646" l10n="U" xml-lang="en-US" oldref="14">Dim aFile As String</paragraph>
+ <paragraph role="paragraph" id="par_id3153157" l10n="U" xml-lang="en-US" oldref="15">aFile = "c:\data.txt"</paragraph>
+
+ <paragraph role="paragraph" id="par_id3149403" l10n="U" xml-lang="en-US" oldref="17">iNumber = Freefile</paragraph>
+ <paragraph role="paragraph" id="par_id3149121" l10n="U" xml-lang="en-US" oldref="18">Open aFile For Random As #iNumber Len=32</paragraph>
+ <paragraph role="paragraph" id="par_id3156276" l10n="U" xml-lang="en-US" oldref="19">Seek #iNumber,1 REM Position at start</paragraph>
+ <paragraph role="paragraph" id="par_id3148405" l10n="U" xml-lang="en-US" oldref="20">Put #iNumber,, "This is the first line of text" REM Fill with text</paragraph>
+ <paragraph role="paragraph" id="par_id3154756" l10n="U" xml-lang="en-US" oldref="21">Put #iNumber,, "This is the second line of text"</paragraph>
+ <paragraph role="paragraph" id="par_id3145643" l10n="U" xml-lang="en-US" oldref="22">Put #iNumber,, "This is the third line of text"</paragraph>
+ <paragraph role="paragraph" id="par_id3156383" l10n="U" xml-lang="en-US" oldref="23">Seek #iNumber,2</paragraph>
+ <paragraph role="paragraph" id="par_id3155333" l10n="U" xml-lang="en-US" oldref="24">Get #iNumber,,sText</paragraph>
+ <paragraph role="paragraph" id="par_id3149255" l10n="U" xml-lang="en-US" oldref="25">Print sText</paragraph>
+ <paragraph role="paragraph" id="par_id3154702" l10n="U" xml-lang="en-US" oldref="26">Close #iNumber</paragraph>
+
+ <paragraph role="paragraph" id="par_id3153965" l10n="U" xml-lang="en-US" oldref="28">iNumber = Freefile</paragraph>
+ <paragraph role="paragraph" id="par_id3163807" l10n="U" xml-lang="en-US" oldref="29">Open aFile For Random As #iNumber Len=32</paragraph>
+ <paragraph role="paragraph" id="par_id3155607" l10n="U" xml-lang="en-US" oldref="30">Get #iNumber,2,sText</paragraph>
+ <paragraph role="paragraph" id="par_id3150299" l10n="U" xml-lang="en-US" oldref="31">Put #iNumber,,"This is a new line of text"</paragraph>
+ <paragraph role="paragraph" id="par_id3147002" l10n="U" xml-lang="en-US" oldref="32">Get #iNumber,1,sText</paragraph>
+ <paragraph role="paragraph" id="par_id3149036" l10n="U" xml-lang="en-US" oldref="33">Get #iNumber,2,sText</paragraph>
+ <paragraph role="paragraph" id="par_id3166425" l10n="U" xml-lang="en-US" oldref="34">Put #iNumber,20,"This is the text in record 20"</paragraph>
+ <paragraph role="paragraph" id="par_id3149817" l10n="U" xml-lang="en-US" oldref="35">Print Lof(#iNumber)</paragraph>
+ <paragraph role="paragraph" id="par_id3146811" l10n="U" xml-lang="en-US" oldref="36">Close #iNumber</paragraph>
+
+ <paragraph role="paragraph" id="par_id3154200" l10n="U" xml-lang="en-US" oldref="38">end sub</paragraph>
+
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03020304.xhp b/helpcontent2/source/text/sbasic/shared/03020304.xhp
new file mode 100755
index 0000000000..edb6715f0e
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03020304.xhp
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020304xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Seek Function [Runtime]</title>
+<filename>/text/sbasic/shared/03020304.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="seek">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3154367"><bookmark_value>seek;function</bookmark_value></bookmark><paragraph id="hd_id3154367" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03020304.xhp" name="Seek Function [Runtime]">Seek Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3156280" l10n="U" xml-lang="en-US" oldref="2">Determines the position for the next writing or reading in a file that was opened with the open statement. The return value corresponds to the value determined by the Seek statement:</paragraph>
+ </section>
+ <paragraph role="paragraph" id="par_id3153194" l10n="U" xml-lang="en-US" oldref="3">For random access files, the Seek function returns the number of the next record to be read.</paragraph>
+ <paragraph role="paragraph" id="par_id3161831" l10n="U" xml-lang="en-US" oldref="4">For all other files, the function returns the byte position at which the next operation is to occur.</paragraph>
+ <paragraph xml-lang="en-US" oldref="5" role="paragraph" id="par_id3155854" l10n="U">See also: <link href="text/sbasic/shared/03020103.xhp" name="Open">Open</link>, <link href="text/sbasic/shared/03020305.xhp" name="Seek">Seek</link>.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3152460" l10n="U" xml-lang="en-US" oldref="6">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3145365" l10n="U" xml-lang="en-US" oldref="7">Seek (FileNumber)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3148575" l10n="U" xml-lang="en-US" oldref="8">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3159156" l10n="U" xml-lang="en-US" oldref="9">Long</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3149665" l10n="U" xml-lang="en-US" oldref="10">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3148645" xml-lang="en-US" oldref="11"><emph>FileNumber:</emph> Returns the file number determined by the Open statement.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3150011" l10n="U" xml-lang="en-US" oldref="12">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3153877" l10n="U" xml-lang="en-US" oldref="13">Sub ExampleSeek</paragraph>
+ <paragraph role="paragraph" id="par_id3150417" l10n="U" xml-lang="en-US" oldref="14">Dim i As Integer</paragraph>
+ <paragraph role="paragraph" id="par_id3156284" l10n="U" xml-lang="en-US" oldref="15">Dim iNumber As Integer</paragraph>
+ <paragraph role="paragraph" id="par_id3153157" l10n="U" xml-lang="en-US" oldref="16">iNumber = Freefile</paragraph>
+ <paragraph role="paragraph" id="par_id3149413" l10n="U" xml-lang="en-US" oldref="17">Open &quot;c:\Data.txt&quot; For Random As #iNumber</paragraph>
+ <paragraph role="paragraph" id="par_id3155602" l10n="U" xml-lang="en-US" oldref="18">For i = 1 To 10</paragraph>
+ <paragraph role="paragraph" id="par_id3149400" l10n="U" xml-lang="en-US" oldref="19">PUT #iNumber, , i</paragraph>
+ <paragraph role="paragraph" id="par_id3149123" l10n="U" xml-lang="en-US" oldref="20">Next i</paragraph>
+ <paragraph role="paragraph" id="par_id3156275" l10n="U" xml-lang="en-US" oldref="21">Seek #iNumber, 2</paragraph>
+ <paragraph role="paragraph" id="par_id3154479" l10n="U" xml-lang="en-US" oldref="22">Get #1, , i</paragraph>
+ <paragraph role="paragraph" id="par_id3148405" l10n="U" xml-lang="en-US" oldref="23">Print &quot;Date: &quot;; i;&quot; Next Record: &quot;; Seek(iNumber)</paragraph>
+ <paragraph role="paragraph" id="par_id3149020" l10n="U" xml-lang="en-US" oldref="24">end sub</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03020305.xhp b/helpcontent2/source/text/sbasic/shared/03020305.xhp
new file mode 100755
index 0000000000..4e6506a1bd
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03020305.xhp
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020305xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Seek Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03020305.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3159413"><bookmark_value>seek;function</bookmark_value></bookmark><paragraph id="hd_id3159413" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03020305.xhp" name="Seek Statement [Runtime]">Seek Statement [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3153381" l10n="U" xml-lang="en-US" oldref="2">Determines the position for the next writing or reading in a file that was opened with the Open statement.</paragraph>
+ <paragraph role="paragraph" id="par_id3153969" l10n="U" xml-lang="en-US" oldref="3">For random access files, the Seek function returns the number of the next record to be written.</paragraph>
+ <paragraph role="paragraph" id="par_id3154908" l10n="U" xml-lang="en-US" oldref="4">For all other files, the function returns the byte position at which the next operation is to occur.</paragraph>
+ <paragraph xml-lang="en-US" oldref="5" role="paragraph" id="par_id3156280" l10n="U">See also: <link href="text/sbasic/shared/03020103.xhp" name="Open">Open</link>, <link href="text/sbasic/shared/03020304.xhp" name="Seek">Seek</link>.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3145785" l10n="U" xml-lang="en-US" oldref="6">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3145273" l10n="U" xml-lang="en-US" oldref="7">Seek[#]FileNumber, Position (As Long)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3154321" l10n="U" xml-lang="en-US" oldref="8">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3153952" xml-lang="en-US" oldref="9"><emph>FileNumber: </emph>Returns the file number determined by the Open statement.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3145366" xml-lang="en-US" oldref="10"><emph>Position: </emph>Position for the next writing or reading. Position can be a number between 1 and 2,147,483,647. According to the file type, the position indicates the number of the record (files in the Random mode) or the byte position (files in the Binary, Output, Append or Input mode). The first byte in a file is position 1, the second byte is position 2, and so on.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err52"/>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03020400.xhp b/helpcontent2/source/text/sbasic/shared/03020400.xhp
new file mode 100755
index 0000000000..e38f3e3c9b
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03020400.xhp
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020400xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Managing Files</title>
+<filename>/text/sbasic/shared/03020400.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="organisation">
+ <paragraph id="hd_id3145136" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03020400.xhp" name="Managing Files">Managing Files</link></paragraph>
+ <paragraph role="paragraph" id="par_id3147264" l10n="U" xml-lang="en-US" oldref="2">The functions and statements for managing files are described here.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/03020401.xhp#chdir"/>
+ <embed href="text/sbasic/shared/03020402.xhp#chdrive"/>
+ <embed href="text/sbasic/shared/03020403.xhp#curdir"/>
+ <embed href="text/sbasic/shared/03020404.xhp#dir"/>
+ <embed href="text/sbasic/shared/03020405.xhp#fileattr"/>
+ <embed href="text/sbasic/shared/03020406.xhp#filecopy"/>
+ <embed href="text/sbasic/shared/03020407.xhp#filedatetime"/>
+ <embed href="text/sbasic/shared/03020415.xhp#fileexists"/>
+ <embed href="text/sbasic/shared/03020408.xhp#filelen"/>
+ <embed href="text/sbasic/shared/03020409.xhp#getattr"/>
+ <embed href="text/sbasic/shared/03020410.xhp#kill"/>
+ <embed href="text/sbasic/shared/03020411.xhp#mkdir"/>
+ <embed href="text/sbasic/shared/03020412.xhp#name"/>
+ <embed href="text/sbasic/shared/03020413.xhp#rmdir"/>
+ <embed href="text/sbasic/shared/03020414.xhp#setattr"/>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03020401.xhp b/helpcontent2/source/text/sbasic/shared/03020401.xhp
new file mode 100644
index 0000000000..1ca306a597
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03020401.xhp
@@ -0,0 +1,94 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************-->
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020401xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">ChDir Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03020401.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="chdir">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3150178"><bookmark_value>ChDir;function</bookmark_value></bookmark><paragraph id="hd_id3150178" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03020401.xhp" name="ChDir Statement [Runtime]">ChDir Statement [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3153126" l10n="U" xml-lang="en-US" oldref="2">Changes the current directory or drive.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3154347" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3153897" l10n="U" xml-lang="en-US" oldref="4">ChDir Text As String</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3148664" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150543" xml-lang="en-US" oldref="6"><emph>Text:</emph> Any string expression that specifies the directory path or drive.</paragraph>
+ <paragraph role="note" id="par_id3152598" l10n="U" xml-lang="en-US" oldref="7">If you only want to change the current drive, enter the drive letter followed by a colon.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err76"/>
+ <paragraph role="heading" level="2" id="hd_id3151116" l10n="U" xml-lang="en-US" oldref="8">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3153364" l10n="U" xml-lang="en-US" oldref="9">Sub ExampleChDir</paragraph>
+ <paragraph role="paragraph" id="par_id3147348" l10n="U" xml-lang="en-US" oldref="10">Dim sDir1 as String , sDir2 as String</paragraph>
+ <paragraph role="paragraph" id="par_id3155308" l10n="U" xml-lang="en-US" oldref="11">sDir1 = "c:\Test"</paragraph>
+ <paragraph role="paragraph" id="par_id3154319" l10n="U" xml-lang="en-US" oldref="12">sDir2 = "d:\private"</paragraph>
+ <paragraph role="paragraph" id="par_id3154944" l10n="U" xml-lang="en-US" oldref="13">ChDir( sDir1 )</paragraph>
+ <paragraph role="paragraph" id="par_id3151074" l10n="U" xml-lang="en-US" oldref="14">msgbox CurDir</paragraph>
+ <paragraph role="paragraph" id="par_id3147124" l10n="U" xml-lang="en-US" oldref="15">ChDir( sDir2 )</paragraph>
+ <paragraph role="paragraph" id="par_id3148456" l10n="U" xml-lang="en-US" oldref="16">msgbox CurDir</paragraph>
+ <paragraph role="paragraph" id="par_id3149581" l10n="U" xml-lang="en-US" oldref="17">end sub</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03020402.xhp b/helpcontent2/source/text/sbasic/shared/03020402.xhp
new file mode 100755
index 0000000000..8fe6ea91e7
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03020402.xhp
@@ -0,0 +1,87 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020402xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">ChDrive Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03020402.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="chdrive">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3145068"><bookmark_value>ChDrive;function</bookmark_value></bookmark><paragraph id="hd_id3145068" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03020402.xhp" name="ChDrive Statement [Runtime]">ChDrive Statement [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3149656" l10n="U" xml-lang="en-US" oldref="2">Changes the current drive.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3154138" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3154685" l10n="U" xml-lang="en-US" oldref="4">ChDrive Text As String</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3156423" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph l10n="U" xml-lang="en-US" role="paragraph" id="par_id3145172" oldref="6"><emph>Text:</emph> Any string expression that contains the drive letter of the new drive. If you want, you can use <link href="text/sbasic/shared/00000002.xhp" name="URL notation">URL notation</link>.</paragraph>
+ <paragraph role="paragraph" id="par_id3145785" l10n="U" xml-lang="en-US" oldref="7">The drive must be assigned a capital letter. Under Windows, the letter that you assign the drive is restricted by the settings in LASTDRV. If the drive argument is a multiple-character string, only the first letter is relevant. If you attempt to access a non-existent drive, an error occurs that you can respond to with the OnError statement.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err68"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err76"/>
+ <paragraph role="heading" level="2" id="hd_id3153188" l10n="U" xml-lang="en-US" oldref="8">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3151113" l10n="U" xml-lang="en-US" oldref="9">Sub ExampleCHDrive</paragraph>
+ <paragraph role="paragraph" id="par_id3152576" l10n="U" xml-lang="en-US" oldref="10">ChDrive &quot;D&quot; REM Only possible if a drive 'D' exists.</paragraph>
+ <paragraph role="paragraph" id="par_id3156441" l10n="U" xml-lang="en-US" oldref="11">End Sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03020403.xhp b/helpcontent2/source/text/sbasic/shared/03020403.xhp
new file mode 100755
index 0000000000..578ef00a2f
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03020403.xhp
@@ -0,0 +1,100 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020403xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">CurDir Function [Runtime]</title>
+<filename>/text/sbasic/shared/03020403.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-05-12T14:34:50">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="curdir">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3153126"><bookmark_value>CurDir;function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3153126" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020403.xhp">CurDir Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3156343" xml-lang="en-US" l10n="U" oldref="2">Returns a variant string that represents the current path of the specified drive.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3149457" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3153381" xml-lang="en-US" l10n="U" oldref="4">CurDir [(Text As String)]</paragraph>
+<paragraph role="heading" id="hd_id3154366" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3156281" xml-lang="en-US" l10n="U" oldref="6">String</paragraph>
+<paragraph role="heading" id="hd_id3156423" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3153193" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Text:</emph> Any string expression that specifies an existing drive (for example, "C" for the first partition of the first hard drive).</paragraph>
+<paragraph role="paragraph" id="par_id3155133" xml-lang="en-US" l10n="U" oldref="9">If no drive is specified or if the drive is a zero-length string (""), CurDir returns the path for the current drive. $[officename] Basic reports an error if the syntax of the drive description is incorrect, the drive does not exist, or if the drive letter occurs after the letter defined in the CONFIG.SYS with the Lastdrive statement.</paragraph>
+<paragraph role="paragraph" id="par_id3150010" xml-lang="en-US" l10n="U" oldref="10">This function is not case-sensitive.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<embed href="text/sbasic/shared/00000003.xhp#err68"/>
+<embed href="text/sbasic/shared/00000003.xhp#err7"/>
+<embed href="text/sbasic/shared/00000003.xhp#err51"/>
+<paragraph role="heading" id="hd_id3155411" xml-lang="en-US" level="2" l10n="U" oldref="11">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3151113" xml-lang="en-US" l10n="U" oldref="12">Sub ExampleCurDir</paragraph>
+<paragraph role="paragraph" id="par_id3155306" xml-lang="en-US" l10n="U" oldref="13">Dim sDir1 as String , sDir2 as String</paragraph>
+<paragraph role="paragraph" id="par_id3156444" xml-lang="en-US" l10n="U" oldref="14">sDir1 = "c:\Test"</paragraph>
+<paragraph role="paragraph" id="par_id3147318" xml-lang="en-US" l10n="U" oldref="15">sDir2 = "d:\private"</paragraph>
+<paragraph role="paragraph" id="par_id3154013" xml-lang="en-US" l10n="U" oldref="16">ChDir( sDir1 )</paragraph>
+<paragraph role="paragraph" id="par_id3153877" xml-lang="en-US" l10n="U" oldref="17">msgbox CurDir</paragraph>
+<paragraph role="paragraph" id="par_id3144764" xml-lang="en-US" l10n="U" oldref="18">ChDir( sDir2 )</paragraph>
+<paragraph role="paragraph" id="par_id3147125" xml-lang="en-US" l10n="U" oldref="19">msgbox CurDir</paragraph>
+<paragraph role="paragraph" id="par_id3149581" xml-lang="en-US" l10n="U" oldref="20">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03020404.xhp b/helpcontent2/source/text/sbasic/shared/03020404.xhp
new file mode 100755
index 0000000000..d33f2891de
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03020404.xhp
@@ -0,0 +1,112 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020404xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Dir Function [Runtime]</title>
+<filename>/text/sbasic/shared/03020404.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-05-26T10:50:51">converted from old format - fpe; bug fix: i29276</lastedited>
+</history>
+</meta>
+<body>
+<section id="dir">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154347"><bookmark_value>Dir;function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3154347" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03020404.xhp" name="Dir Function [Runtime]">Dir Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3153381" xml-lang="en-US" l10n="U" oldref="2">Returns the name of a file, a directory, or all of the files and the directories on a drive or in a directory that match the specified search path.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3154365" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3156282" xml-lang="en-US" l10n="U" oldref="4">Dir [(Text As String) [, Attrib As Integer]]</paragraph>
+<paragraph role="heading" id="hd_id3156424" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3153193" xml-lang="en-US" l10n="U" oldref="6">String</paragraph>
+<paragraph role="heading" id="hd_id3153770" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3161831" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Text:</emph> Any string expression that specifies the search path, directory or file. This argument can only be specified the first time that you call the Dir function. If you want, you can enter the path in <link href="text/sbasic/shared/00000002.xhp" name="URL notation">URL notation</link>.</paragraph>
+<paragraph role="paragraph" id="par_id3146974" xml-lang="en-US" l10n="U" oldref="9">
+<emph>Attrib: </emph>Any integer expression that specifies bitwise file attributes. The Dir function only returns files or directories that match the specified attributes. You can combine several attributes by adding the attribute values:</paragraph>
+<paragraph role="paragraph" id="par_id3149666" xml-lang="en-US" l10n="U" oldref="11">0 : Normal files.</paragraph>
+<paragraph role="paragraph" id="par_id3147427" xml-lang="en-US" l10n="U" oldref="15">16 : Returns the name of the directory only.</paragraph>
+<paragraph role="paragraph" id="par_id3153952" xml-lang="en-US" l10n="U" oldref="16">Use this attribute to check if a file or directory exists, or to determine all files and folders in a specific directory.</paragraph>
+<paragraph role="paragraph" id="par_id3159156" xml-lang="en-US" l10n="U" oldref="17">To check if a file exists, enter the complete path and name of the file. If the file or directory name does not exist, the Dir function returns a zero-length string ("").</paragraph>
+<paragraph role="paragraph" id="par_id3154012" xml-lang="en-US" l10n="U" oldref="18">To generate a list of all existing files in a specific directory, proceed as follows: The first time you call the Dir function, specify the complete search path for the files, for example, "D:\Files\*.sxw". If the path is correct and the search finds at least one file, the Dir function returns the name of the first file that matches the search path. To return additional file names that match the path, call Dir again, but with no arguments.</paragraph>
+<paragraph role="paragraph" id="par_id3147348" xml-lang="en-US" l10n="U" oldref="19">To return directories only, use the attribute parameter. The same applies if you want to determine the name of a volume (for example, a hard drive partition)</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<embed href="text/sbasic/shared/00000003.xhp#err53"/>
+<paragraph role="heading" id="hd_id3154942" xml-lang="en-US" level="2" l10n="U" oldref="20">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3147125" xml-lang="en-US" l10n="U" oldref="21">Sub ExampleDir</paragraph>
+<paragraph role="paragraph" id="par_id3148455" xml-lang="en-US" l10n="U" oldref="22">REM Displays all files and directories</paragraph>
+<paragraph role="paragraph" id="par_id3147396" xml-lang="en-US" l10n="U" oldref="23">Dim sPath As String</paragraph>
+<paragraph role="paragraph" id="par_id3149378" xml-lang="en-US" l10n="U" oldref="24">Dim sDir as String, sValue as String</paragraph>
+<paragraph role="paragraph" id="par_id3153416" xml-lang="en-US" l10n="U" oldref="27">sDir="Directories:"</paragraph>
+<paragraph role="paragraph" id="par_id3153838" xml-lang="en-US" l10n="U" oldref="29">sPath = CurDir</paragraph>
+<paragraph role="paragraph" id="par_id3150327" xml-lang="en-US" l10n="U" oldref="30">sValue = Dir$(sPath + "\*",16)</paragraph>
+<paragraph role="paragraph" id="par_id3155064" xml-lang="en-US" l10n="U" oldref="31">Do</paragraph>
+<paragraph role="paragraph" id="par_id3153764" xml-lang="en-US" l10n="U" oldref="32">If sValue &lt;&gt; "." and sValue &lt;&gt; ".." Then</paragraph>
+<paragraph role="paragraph" id="par_id3155766" xml-lang="en-US" l10n="U" oldref="33">if (GetAttr( sPath + getPathSeparator + sValue) AND 16) &gt;0 then</paragraph>
+<paragraph role="paragraph" id="par_id3154253" xml-lang="en-US" l10n="U" oldref="34">REM get the directories</paragraph>
+<paragraph role="paragraph" id="par_id3159264" xml-lang="en-US" l10n="U" oldref="35">sDir = sDir &amp; chr(13) &amp; sValue</paragraph>
+<paragraph role="paragraph" id="par_id3145148" xml-lang="en-US" l10n="U" oldref="43">End If</paragraph>
+<paragraph role="paragraph" id="par_id3147324" xml-lang="en-US" l10n="U" oldref="44">sValue = Dir$</paragraph>
+<paragraph role="paragraph" id="par_id3155335" xml-lang="en-US" l10n="U" oldref="45">Loop Until sValue = ""</paragraph>
+<paragraph role="paragraph" id="par_id3147345" xml-lang="en-US" l10n="U" oldref="46">MsgBox sDir,0,sPath</paragraph>
+<paragraph role="paragraph" id="par_id3163808" xml-lang="en-US" l10n="U" oldref="48">End sub</paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03020405.xhp b/helpcontent2/source/text/sbasic/shared/03020405.xhp
new file mode 100644
index 0000000000..1df1ec1851
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03020405.xhp
@@ -0,0 +1,110 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************-->
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020405xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">FileAttr-Function [Runtime]</title>
+<filename>/text/sbasic/shared/03020405.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="fileattr">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3153380"><bookmark_value>FileAttr;function</bookmark_value></bookmark><paragraph id="hd_id3153380" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03020405.xhp" name="FileAttr-Function [Runtime]">FileAttr-Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3154366" l10n="U" xml-lang="en-US" oldref="2">Returns the access mode or the file access number of a file that was opened with the Open statement. The file access number is dependent on the operating system (OSH = Operating System Handle).</paragraph>
+ </section>
+ <paragraph role="note" id="par_id3153364" l10n="U" xml-lang="en-US" oldref="3">If you use a 32-Bit operating system, you cannot use the FileAttr-Function to determine the file access number.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3163713" xml-lang="en-US" oldref="4">See also: <link href="text/sbasic/shared/03020103.xhp" name="Open">Open</link></paragraph>
+ <paragraph role="heading" level="2" id="hd_id3151116" l10n="U" xml-lang="en-US" oldref="5">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3154012" l10n="U" xml-lang="en-US" oldref="6">FileAttr (FileNumber As Integer, Attribute As Integer)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3147349" l10n="U" xml-lang="en-US" oldref="7">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3146974" l10n="U" xml-lang="en-US" oldref="8">Integer</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3153728" l10n="U" xml-lang="en-US" oldref="9">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3151074" xml-lang="en-US" oldref="10"><emph>FileNumber:</emph> The number of the file that was opened with the Open statement.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3144766" xml-lang="en-US" oldref="11"><emph>Attribute:</emph> Integer expression that indicates the type of file information that you to return. The following values are possible:</paragraph>
+ <paragraph role="paragraph" id="par_id3147396" l10n="U" xml-lang="en-US" oldref="12">1: The FileAttr-Function indicates the access mode of the file.</paragraph>
+ <paragraph role="paragraph" id="par_id3149959" l10n="U" xml-lang="en-US" oldref="13">2: The FileAttr-Function returns the file access number of the operating system.</paragraph>
+ <paragraph role="paragraph" id="par_id3154018" l10n="U" xml-lang="en-US" oldref="14">If you specify a parameter attribute with a value of 1, the following return values apply:</paragraph>
+ <paragraph role="paragraph" id="par_id3149124" l10n="U" xml-lang="en-US" oldref="15">1 - INPUT (file open for input)</paragraph>
+ <paragraph role="paragraph" id="par_id3156275" l10n="U" xml-lang="en-US" oldref="16">2 - OUTPUT (file open for output)</paragraph>
+ <paragraph role="paragraph" id="par_id3155066" l10n="U" xml-lang="en-US" oldref="17">4 - RANDOM (file open for random access)</paragraph>
+ <paragraph role="paragraph" id="par_id3148406" l10n="U" xml-lang="en-US" oldref="18">8 - APPEND (file open for appending)</paragraph>
+ <paragraph role="paragraph" id="par_id3154757" l10n="U" xml-lang="en-US" oldref="19">32 - BINARY (file open in binary mode).</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err52"/>
+ <paragraph role="heading" level="2" id="hd_id3147339" l10n="U" xml-lang="en-US" oldref="20">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3155959" l10n="U" xml-lang="en-US" oldref="21">Sub ExampleFileAttr</paragraph>
+ <paragraph role="paragraph" id="par_id3145147" l10n="U" xml-lang="en-US" oldref="22">Dim iNumber As Integer</paragraph>
+ <paragraph role="paragraph" id="par_id3153966" l10n="U" xml-lang="en-US" oldref="23">Dim sLine As String</paragraph>
+ <paragraph role="paragraph" id="par_id3155336" l10n="U" xml-lang="en-US" oldref="24">Dim aFile As String</paragraph>
+ <paragraph role="paragraph" id="par_id3163807" l10n="U" xml-lang="en-US" oldref="25">aFile = "c:\data.txt"</paragraph>
+
+ <paragraph role="paragraph" id="par_id3154021" l10n="U" xml-lang="en-US" oldref="27">iNumber = Freefile</paragraph>
+ <paragraph role="paragraph" id="par_id3153786" l10n="U" xml-lang="en-US" oldref="28">Open aFile For Output As #iNumber</paragraph>
+ <paragraph role="paragraph" id="par_id3155607" l10n="U" xml-lang="en-US" oldref="29">Print #iNumber, "This is a line of text"</paragraph>
+ <paragraph role="paragraph" id="par_id3150361" l10n="U" xml-lang="en-US" oldref="30">MsgBox FileAttr(#iNumber, 1 ),0,"Access mode"</paragraph>
+ <paragraph role="paragraph" id="par_id3149817" l10n="U" xml-lang="en-US" oldref="31">MsgBox FileAttr(#iNumber, 2 ),0,"File attribute"</paragraph>
+ <paragraph role="paragraph" id="par_id3155115" l10n="U" xml-lang="en-US" oldref="32">Close #iNumber</paragraph>
+ <paragraph role="paragraph" id="par_id3147130" l10n="U" xml-lang="en-US" oldref="33">End Sub</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03020406.xhp b/helpcontent2/source/text/sbasic/shared/03020406.xhp
new file mode 100644
index 0000000000..50b9b5c8e1
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03020406.xhp
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************-->
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020406xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">FileCopy Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03020406.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="filecopy">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3154840"><bookmark_value>FileCopy; statement</bookmark_value></bookmark><paragraph id="hd_id3154840" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03020406.xhp" name="FileCopy Statement [Runtime]">FileCopy Statement [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3149497" l10n="U" xml-lang="en-US" oldref="2">Copies a file.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3147443" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3146957" l10n="U" xml-lang="en-US" oldref="4">FileCopy TextFrom As String, TextTo As String</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3153825" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph l10n="U" xml-lang="en-US" role="paragraph" id="par_id3155390" oldref="6"><emph>TextFrom:</emph> Any string expression that specifies the name of the file that you want to copy. The expression can contain optional path and drive information. If you want, you can enter a path in <link href="text/sbasic/shared/00000002.xhp" name="URL notation">URL notation</link>.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150669" xml-lang="en-US" oldref="7"><emph>TextTo:</emph> Any string expression that specifies where you want to copy the source file to. The expression can contain the destination drive, the path, and file name, or the path in URL notation.</paragraph>
+ <paragraph role="note" id="par_id3150791" l10n="U" xml-lang="en-US" oldref="8">You can only use the FileCopy statement to copy files that are not opened.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err76"/>
+ <paragraph role="heading" level="2" id="hd_id3125863" l10n="U" xml-lang="en-US" oldref="9">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3150869" l10n="U" xml-lang="en-US" oldref="10">Sub ExampleFilecopy</paragraph>
+ <paragraph role="paragraph" id="par_id3154685" l10n="U" xml-lang="en-US" oldref="11">Filecopy "c:\autoexec.bat", "c:\Temp\Autoexec.sav"</paragraph>
+ <paragraph role="paragraph" id="par_id3154123" l10n="U" xml-lang="en-US" oldref="12">end sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03020407.xhp b/helpcontent2/source/text/sbasic/shared/03020407.xhp
new file mode 100755
index 0000000000..28ac152232
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03020407.xhp
@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020407xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">FileDateTime Function [Runtime]</title>
+<filename>/text/sbasic/shared/03020407.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="filedatetime">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3153361"><bookmark_value>FileDateTime;function</bookmark_value></bookmark><paragraph id="hd_id3153361" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03020407.xhp" name="FileDateTime Function [Runtime]">FileDateTime Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3156423" l10n="U" xml-lang="en-US" oldref="2">Returns a string that contains the date and the time that a file was created or last modified.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3154685" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3154124" l10n="U" xml-lang="en-US" oldref="4">FileDateTime (Text As String)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3150448" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph l10n="U" xml-lang="en-US" role="paragraph" id="par_id3159153" oldref="6"><emph>Text:</emph> Any string expression that contains an unambiguous (no wildcards) file specification. You can also use <link href="text/sbasic/shared/00000002.xhp" name="URL notation">URL notation</link>.</paragraph>
+ <paragraph role="paragraph" id="par_id3155306" l10n="U" xml-lang="en-US" oldref="7">This function determines the exact time of creation or last modification of a file, returned in the format &quot;MM.DD.YYYY HH.MM.SS&quot;.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#languageformat"/>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3146119" l10n="U" xml-lang="en-US" oldref="8">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3148576" l10n="U" xml-lang="en-US" oldref="9">Sub ExampleFileDateTime</paragraph>
+ <paragraph role="paragraph" id="par_id3161831" l10n="U" xml-lang="en-US" oldref="10">msgbox FileDateTime(&quot;C:\autoexec.bat&quot;)</paragraph>
+ <paragraph role="paragraph" id="par_id3146986" l10n="U" xml-lang="en-US" oldref="11">end sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03020408.xhp b/helpcontent2/source/text/sbasic/shared/03020408.xhp
new file mode 100755
index 0000000000..90b091a894
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03020408.xhp
@@ -0,0 +1,87 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020408xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">FileLen-Function [Runtime]</title>
+<filename>/text/sbasic/shared/03020408.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="filelen">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3153126"><bookmark_value>FileLen;function</bookmark_value></bookmark><paragraph id="hd_id3153126" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03020408.xhp" name="FileLen-Function [Runtime]">FileLen-Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3145068" l10n="U" xml-lang="en-US" oldref="2">Returns the length of a file in bytes.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3159414" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3149656" l10n="U" xml-lang="en-US" oldref="4">FileLen (Text As String)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3148798" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3156282" l10n="U" xml-lang="en-US" oldref="6">Long</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3150768" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" xml-lang="en-US" role="paragraph" id="par_id3153193" oldref="8"><emph>Text:</emph> Any string expression that contains an unambiguous file specification. You can also use <link href="text/sbasic/shared/00000002.xhp" name="URL notation">URL notation</link>.</paragraph>
+ <paragraph role="paragraph" id="par_id3150439" l10n="U" xml-lang="en-US" oldref="9">This function determines the length of a file. If the FileLen function is called for an open file, it returns the file length before it was opened. To determine the current file length of an open file, use the Lof function.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3163710" l10n="U" xml-lang="en-US" oldref="10">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3159154" l10n="U" xml-lang="en-US" oldref="11">Sub ExampleFileLen</paragraph>
+ <paragraph role="paragraph" id="par_id3145271" l10n="U" xml-lang="en-US" oldref="12">msgbox FileLen(&quot;C:\autoexec.bat&quot;)</paragraph>
+ <paragraph role="paragraph" id="par_id3145749" l10n="U" xml-lang="en-US" oldref="13">end sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03020409.xhp b/helpcontent2/source/text/sbasic/shared/03020409.xhp
new file mode 100755
index 0000000000..4d30a76406
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03020409.xhp
@@ -0,0 +1,105 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020409xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">GetAttr Function [Runtime]</title>
+<filename>/text/sbasic/shared/03020409.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="getattr">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3150984"><bookmark_value>GetAttr;function</bookmark_value></bookmark><paragraph id="hd_id3150984" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03020409.xhp" name="GetAttr Function [Runtime]">GetAttr Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3154347" l10n="U" xml-lang="en-US" oldref="2">Returns a bit pattern that identifies the file type or the name of a volume or a directory.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3149457" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3150359" l10n="U" xml-lang="en-US" oldref="4">GetAttr (Text As String)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3151211" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3154909" l10n="U" xml-lang="en-US" oldref="6">Integer</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3145172" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" xml-lang="en-US" role="paragraph" id="par_id3151042" oldref="8"><emph>Text:</emph> Any string expression that contains an unambiguous file specification. You can also use <link href="text/sbasic/shared/00000002.xhp" name="URL notation">URL notation</link>.</paragraph>
+ <paragraph role="paragraph" id="par_id3161831" l10n="U" xml-lang="en-US" oldref="9">This function determines the attributes for a specified file and returns the bit pattern that can help you to identify the following file attributes:</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err53"/>
+ <paragraph role="heading" level="2" id="hd_id3145364" l10n="U" xml-lang="en-US" oldref="10">Value</paragraph>
+ <paragraph role="paragraph" id="par_id3147349" l10n="U" xml-lang="en-US" oldref="11">0 : Normal files.</paragraph>
+ <paragraph role="paragraph" id="par_id3147434" l10n="U" xml-lang="en-US" oldref="12">1 : Read-only files.</paragraph>
+ <paragraph role="paragraph" id="par_id3159154" l10n="U" xml-lang="en-US" oldref="15">8 : Returns the name of the volume</paragraph>
+ <paragraph role="paragraph" id="par_id3145271" l10n="U" xml-lang="en-US" oldref="16">16 : Returns the name of the directory only.</paragraph>
+ <paragraph role="paragraph" id="par_id3153953" l10n="U" xml-lang="en-US" oldref="17">32 : File was changed since last backup (Archive bit).</paragraph>
+ <paragraph role="paragraph" id="par_id3156444" l10n="U" xml-lang="en-US" oldref="18">If you want to know if a bit of the attribute byte is set, use the following query method:</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3153094" l10n="U" xml-lang="en-US" oldref="19">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3154491" l10n="U" xml-lang="en-US" oldref="20">Sub ExampleSetGetAttr</paragraph>
+ <paragraph role="paragraph" id="par_id3155415" l10n="U" xml-lang="en-US" oldref="21">On Error Goto ErrorHandler REM Define target for error-handler</paragraph>
+ <paragraph role="paragraph" id="par_id3154944" l10n="U" xml-lang="en-US" oldref="22">If Dir(&quot;C:\test&quot;,16)=&quot;&quot; Then MkDir &quot;C:\test&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3151075" l10n="U" xml-lang="en-US" oldref="23">If Dir(&quot;C:\test\autoexec.sav&quot;)=&quot;&quot; THEN Filecopy &quot;c:\autoexec.bat&quot;, &quot;c:\test\autoexec.sav&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3149959" l10n="U" xml-lang="en-US" oldref="24">SetAttr &quot;c:\test\autoexec.sav&quot; ,0</paragraph>
+ <paragraph role="paragraph" id="par_id3153418" l10n="U" xml-lang="en-US" oldref="25">Filecopy &quot;c:\autoexec.bat&quot;, &quot;c:\test\autoexec.sav&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3149122" l10n="U" xml-lang="en-US" oldref="26">SetAttr &quot;c:\test\autoexec.sav&quot; ,1</paragraph>
+ <paragraph role="paragraph" id="par_id3154480" l10n="U" xml-lang="en-US" oldref="27">print GetAttr( &quot;c:\test\autoexec.sav&quot; )</paragraph>
+ <paragraph role="paragraph" id="par_id3150753" l10n="U" xml-lang="en-US" oldref="28">end</paragraph>
+ <paragraph role="paragraph" id="par_id3150323" l10n="U" xml-lang="en-US" oldref="29">ErrorHandler:</paragraph>
+ <paragraph role="paragraph" id="par_id3154754" l10n="U" xml-lang="en-US" oldref="30">Print Error</paragraph>
+ <paragraph role="paragraph" id="par_id3155764" l10n="U" xml-lang="en-US" oldref="31">end</paragraph>
+ <paragraph role="paragraph" id="par_id3156382" l10n="U" xml-lang="en-US" oldref="32">end sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03020410.xhp b/helpcontent2/source/text/sbasic/shared/03020410.xhp
new file mode 100755
index 0000000000..406155a7e2
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03020410.xhp
@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020410xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Kill Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03020410.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="kill">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3153360"><bookmark_value>Kill;statement</bookmark_value></bookmark><paragraph id="hd_id3153360" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03020410.xhp" name="Kill Statement [Runtime]">Kill Statement [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3151211" l10n="U" xml-lang="en-US" oldref="2">Deletes a file from a disk.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3150767" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3154685" l10n="U" xml-lang="en-US" oldref="4">Kill File As String</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3153194" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph l10n="U" xml-lang="en-US" role="paragraph" id="par_id3150440" oldref="6"><emph>File:</emph> Any string expression that contains an unambiguous file specification. You can also use <link href="text/sbasic/shared/00000002.xhp" name="URL notation">URL notation</link>.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err76"/>
+ <paragraph role="heading" level="2" id="hd_id3148645" l10n="U" xml-lang="en-US" oldref="7">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3154320" l10n="U" xml-lang="en-US" oldref="8">sub ExampleKill</paragraph>
+ <paragraph role="paragraph" id="par_id3163710" l10n="U" xml-lang="en-US" oldref="9">Kill &quot;C:\datafile.dat&quot; REM File must be created in advance</paragraph>
+ <paragraph role="paragraph" id="par_id3145749" l10n="U" xml-lang="en-US" oldref="10">end sub</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03020411.xhp b/helpcontent2/source/text/sbasic/shared/03020411.xhp
new file mode 100755
index 0000000000..3b4ee81b37
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03020411.xhp
@@ -0,0 +1,130 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020411xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">MkDir Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03020411.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="mkdir">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3156421"><bookmark_value>MkDir; statement</bookmark_value></bookmark><paragraph id="hd_id3156421" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03020411.xhp" name="MkDir Statement [Runtime]">MkDir Statement [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3147000" l10n="U" xml-lang="en-US" oldref="2">Creates a new directory on a data medium.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3148520" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3155150" l10n="U" xml-lang="en-US" oldref="4">MkDir Text As String</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3156027" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph l10n="U" xml-lang="en-US" role="paragraph" id="par_id3153750" oldref="6"><emph>Text:</emph> Any string expression that specifies the name and path of the directory to be created. You can also use <link href="text/sbasic/shared/00000002.xhp" name="URL notation">URL notation</link>.</paragraph>
+ <paragraph role="paragraph" id="par_id3153311" l10n="U" xml-lang="en-US" oldref="7">If the path is not determined, the directory is created in the current directory.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err76"/>
+ <paragraph role="heading" level="2" id="hd_id3155388" l10n="U" xml-lang="en-US" oldref="8">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3148473" l10n="U" xml-lang="en-US" oldref="9">Sub ExampleFileIO</paragraph>
+ <paragraph role="paragraph" id="par_id3149762" l10n="U" xml-lang="en-US" oldref="10">' Example for functions of the file organisation</paragraph>
+ <paragraph role="paragraph" id="par_id3145610" l10n="U" xml-lang="en-US" oldref="11">Const sFile1 as String = &quot;file://c|/autoexec.bat&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3147264" l10n="U" xml-lang="en-US" oldref="12">Const sDir1 as String = &quot;file://c|/Temp&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3149669" l10n="U" xml-lang="en-US" oldref="13">Const sSubDir1 as String =&quot;Test&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3148663" l10n="U" xml-lang="en-US" oldref="14">Const sFile2 as String = &quot;Copied.tmp&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3154071" l10n="U" xml-lang="en-US" oldref="15">Const sFile3 as String = &quot;Renamed.tmp&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3150792" l10n="U" xml-lang="en-US" oldref="16">Dim sFile as String</paragraph>
+ <paragraph role="paragraph" id="par_id3154366" l10n="U" xml-lang="en-US" oldref="17">sFile = sDir1 + &quot;/&quot; + sSubDir1</paragraph>
+ <paragraph role="paragraph" id="par_id3149204" l10n="U" xml-lang="en-US" oldref="18">ChDir( sDir1 )</paragraph>
+ <paragraph role="paragraph" id="par_id3154217" l10n="U" xml-lang="en-US" oldref="19">If Dir(sSubDir1,16)=&quot;&quot; then ' Does the directory exist ?</paragraph>
+ <paragraph role="paragraph" id="par_id3156423" l10n="U" xml-lang="en-US" oldref="20">MkDir sSubDir1</paragraph>
+ <paragraph role="paragraph" id="par_id3147228" l10n="U" xml-lang="en-US" oldref="21">MsgBox sFile,0,&quot;Create directory&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3153970" l10n="U" xml-lang="en-US" oldref="22">End If</paragraph>
+
+ <paragraph role="paragraph" id="par_id3148451" l10n="U" xml-lang="en-US" oldref="24">sFile = sFile + &quot;/&quot; + sFile2</paragraph>
+ <paragraph role="paragraph" id="par_id3155132" l10n="U" xml-lang="en-US" oldref="25">FileCopy sFile1 , sFile</paragraph>
+ <paragraph role="paragraph" id="par_id3153770" l10n="U" xml-lang="en-US" oldref="26">MsgBox fSysURL(CurDir()),0,&quot;Current directory&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3159154" l10n="U" xml-lang="en-US" oldref="27">MsgBox sFile &amp; Chr(13) &amp; FileDateTime( sFile ),0,&quot;Creation time&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3149484" l10n="U" xml-lang="en-US" oldref="28">MsgBox sFile &amp; Chr(13)&amp; FileLen( sFile ),0,&quot;File length&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3152885" l10n="U" xml-lang="en-US" oldref="29">MsgBox sFile &amp; Chr(13)&amp; GetAttr( sFile ),0,&quot;File attributes&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3152596" l10n="U" xml-lang="en-US" oldref="30">Name sFile as sDir1 + &quot;/&quot; + sSubDir1 + &quot;/&quot; + sFile3</paragraph>
+ <paragraph role="paragraph" id="par_id3153952" l10n="U" xml-lang="en-US" oldref="31">' Rename in the same directory</paragraph>
+
+ <paragraph role="paragraph" id="par_id3152576" l10n="U" xml-lang="en-US" oldref="33">sFile = sDir1 + &quot;/&quot; + sSubDir1 + &quot;/&quot; + sFile3</paragraph>
+ <paragraph role="paragraph" id="par_id3147426" l10n="U" xml-lang="en-US" oldref="34">SetAttr( sFile, 0 ) 'Delete all attributes</paragraph>
+ <paragraph role="paragraph" id="par_id3148647" l10n="U" xml-lang="en-US" oldref="35">MsgBox sFile &amp; Chr(13) &amp; GetAttr( sFile ),0,&quot;New file attributes&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3153363" l10n="U" xml-lang="en-US" oldref="36">Kill sFile</paragraph>
+ <paragraph role="paragraph" id="par_id3151113" l10n="U" xml-lang="en-US" oldref="37">RmDir sDir1 + &quot;/&quot; + sSubDir1</paragraph>
+ <paragraph role="paragraph" id="par_id3153157" l10n="U" xml-lang="en-US" oldref="38">end sub</paragraph>
+
+ <paragraph role="paragraph" id="par_id3150092" l10n="U" xml-lang="en-US" oldref="40">' Converts a system path in URL</paragraph>
+ <paragraph role="paragraph" id="par_id3147396" l10n="U" xml-lang="en-US" oldref="41">Function fSysURL( fSysFp as String ) as String</paragraph>
+ <paragraph role="paragraph" id="par_id3153878" l10n="U" xml-lang="en-US" oldref="42">Dim iPos As String</paragraph>
+ <paragraph role="paragraph" id="par_id3150420" l10n="U" xml-lang="en-US" oldref="43">iPos = 1</paragraph>
+ <paragraph role="paragraph" id="par_id3145253" l10n="U" xml-lang="en-US" oldref="44">iPos = Instr(iPos,fSysFp, getPathSeparator())</paragraph>
+ <paragraph role="paragraph" id="par_id3153415" l10n="U" xml-lang="en-US" oldref="45">do while iPos &gt; 0</paragraph>
+ <paragraph role="paragraph" id="par_id3153512" l10n="U" xml-lang="en-US" oldref="46">mid( fSysFp, iPos , 1,&quot;/&quot;)</paragraph>
+ <paragraph role="paragraph" id="par_id3146899" l10n="U" xml-lang="en-US" oldref="47">iPos = Instr(iPos+1,fSysFp, getPathSeparator())</paragraph>
+ <paragraph role="paragraph" id="par_id3145652" l10n="U" xml-lang="en-US" oldref="48">loop</paragraph>
+ <paragraph role="paragraph" id="par_id3156276" l10n="U" xml-lang="en-US" oldref="49">' the colon with DOS</paragraph>
+ <paragraph role="paragraph" id="par_id3146913" l10n="U" xml-lang="en-US" oldref="50">iPos = Instr(1,fSysFp,&quot;:&quot;)</paragraph>
+ <paragraph role="paragraph" id="par_id3145640" l10n="U" xml-lang="en-US" oldref="51">if iPos &gt; 0 then mid( fSysFp, iPos , 1,&quot;|&quot;)</paragraph>
+ <paragraph role="paragraph" id="par_id3155443" l10n="U" xml-lang="en-US" oldref="52">fSysURL = &quot;file://&quot; &amp; fSysFp</paragraph>
+ <paragraph role="paragraph" id="par_id3148995" l10n="U" xml-lang="en-US" oldref="53">End Function</paragraph>
+
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03020412.xhp b/helpcontent2/source/text/sbasic/shared/03020412.xhp
new file mode 100755
index 0000000000..b927616992
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03020412.xhp
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020412xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Name Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03020412.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="name">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3143268"><bookmark_value>Name;statement</bookmark_value></bookmark><paragraph id="hd_id3143268" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03020412.xhp" name="Name Statement [Runtime]">Name Statement [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3154346" l10n="U" xml-lang="en-US" oldref="2">Renames an existing file or directory.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3156344" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3153381" l10n="U" xml-lang="en-US" oldref="4">Name OldName As String As NewName As String</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3153362" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph l10n="U" xml-lang="en-US" role="paragraph" id="par_id3151210" oldref="6"><emph>OldName, NewName:</emph> Any string expression that specifies the file name, including the path. You can also use <link href="text/sbasic/shared/00000002.xhp" name="URL notation">URL notation</link>.</paragraph>
+ <paragraph role="paragraph" id="par_id3150767" l10n="U" xml-lang="en-US" oldref="7">If the path is not determined, the directory is created in the current directory.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3125863" l10n="U" xml-lang="en-US" oldref="8">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3145786" l10n="U" xml-lang="en-US" oldref="9">Sub ExampleReName</paragraph>
+ <paragraph role="paragraph" id="par_id3161832" l10n="U" xml-lang="en-US" oldref="10">On Error Goto Error</paragraph>
+ <paragraph role="paragraph" id="par_id3147435" l10n="U" xml-lang="en-US" oldref="11">Filecopy &quot;c:\autoexec.bat&quot;, &quot;c:\temp\autoexec.sav&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3156444" l10n="U" xml-lang="en-US" oldref="12">Name &quot;c:\test\autoexec.sav&quot; as &quot;c:\temp\autoexec.bat&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3155308" l10n="U" xml-lang="en-US" oldref="13">end</paragraph>
+ <paragraph role="paragraph" id="par_id3153727" l10n="U" xml-lang="en-US" oldref="14">Error:</paragraph>
+ <paragraph role="paragraph" id="par_id3153951" l10n="U" xml-lang="en-US" oldref="15">if err = 76 then</paragraph>
+ <paragraph role="paragraph" id="par_id3152462" l10n="U" xml-lang="en-US" oldref="16">msgbox &quot;File already exists&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3149263" l10n="U" xml-lang="en-US" oldref="17">end if</paragraph>
+ <paragraph role="paragraph" id="par_id3154011" l10n="U" xml-lang="en-US" oldref="18">end</paragraph>
+ <paragraph role="paragraph" id="par_id3146985" l10n="U" xml-lang="en-US" oldref="19">end sub</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03020413.xhp b/helpcontent2/source/text/sbasic/shared/03020413.xhp
new file mode 100755
index 0000000000..0918021ace
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03020413.xhp
@@ -0,0 +1,90 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020413xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">RmDir Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03020413.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="rmdir">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3148947"><bookmark_value>RmDir;statement</bookmark_value></bookmark><paragraph id="hd_id3148947" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03020413.xhp" name="RmDir Statement [Runtime]">RmDir Statement [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3149457" l10n="U" xml-lang="en-US" oldref="2">Deletes an existing directory from a data medium.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3153361" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3154367" l10n="U" xml-lang="en-US" oldref="4">RmDir Text As String</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3156281" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph l10n="U" xml-lang="en-US" role="paragraph" id="par_id3151042" oldref="6"><emph>Text:</emph> Any string expression that specifies the name and path of the directory that you want to delete. You can also use <link href="text/sbasic/shared/00000002.xhp" name="URL notation">URL notation</link>.</paragraph>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3153192" l10n="U" oldref="7">If the path is not determined, the <emph>RmDir Statement</emph> searches for the directory that you want to delete in the current path. If it is not found there, an error message appears.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err76"/>
+ <paragraph role="heading" level="2" id="hd_id3145271" l10n="U" xml-lang="en-US" oldref="8">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3156442" l10n="U" xml-lang="en-US" oldref="9">Sub ExampleRmDir</paragraph>
+ <paragraph role="paragraph" id="par_id3154319" l10n="U" xml-lang="en-US" oldref="10">MkDir &quot;C:\Test2&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3159154" l10n="U" xml-lang="en-US" oldref="11">ChDir &quot;C:\test2&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3151112" l10n="U" xml-lang="en-US" oldref="12">msgbox Curdir</paragraph>
+ <paragraph role="paragraph" id="par_id3147427" l10n="U" xml-lang="en-US" oldref="13">ChDir &quot;\&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3153188" l10n="U" xml-lang="en-US" oldref="14">RmDir &quot;C:\test2&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3146120" l10n="U" xml-lang="en-US" oldref="15">end sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03020414.xhp b/helpcontent2/source/text/sbasic/shared/03020414.xhp
new file mode 100755
index 0000000000..a867551819
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03020414.xhp
@@ -0,0 +1,102 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020414xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">SetAttr Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03020414.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="setattr">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3147559"><bookmark_value>SetAttr;statement</bookmark_value></bookmark><paragraph id="hd_id3147559" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03020414.xhp" name="SetAttr Statement [Runtime]">SetAttr Statement [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3147264" l10n="U" xml-lang="en-US" oldref="2">Sets the attribute information for a specified file.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3150359" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3154365" l10n="U" xml-lang="en-US" oldref="4">SetAttr FileName As String, Attribute As Integer</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3125863" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph xml-lang="en-US" oldref="6" role="paragraph" id="par_id3154909" l10n="U">FileName: Name of the file, including the path, that you want to test attributes of. If you do not enter a path, <emph>SetAttr</emph> searches for the file in the current directory. You can also use <link href="text/sbasic/shared/00000002.xhp" name="URL notation">URL notation</link>.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3153192" xml-lang="en-US" oldref="7"><emph>Attribute:</emph> Bit pattern defining the attributes that you want to set or to clear:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3145786" xml-lang="en-US" oldref="8"><emph>Value</emph></paragraph>
+ <paragraph role="paragraph" id="par_id3152596" l10n="U" xml-lang="en-US" oldref="9">0 : Normal files.</paragraph>
+ <paragraph role="paragraph" id="par_id3149262" l10n="U" xml-lang="en-US" oldref="10">1 : Read-only files.</paragraph>
+ <paragraph role="paragraph" id="par_id3152576" l10n="U" xml-lang="en-US" oldref="13">32 : File was changed since last backup (Archive bit).</paragraph>
+ <paragraph role="paragraph" id="par_id3153093" l10n="U" xml-lang="en-US" oldref="14">You can set multiple attributes by combining the respective values with a logic OR statement.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err53"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err70"/>
+ <paragraph role="heading" level="2" id="hd_id3147434" l10n="U" xml-lang="en-US" oldref="15">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3154012" l10n="U" xml-lang="en-US" oldref="16">Sub ExampleSetGetAttr</paragraph>
+ <paragraph role="paragraph" id="par_id3148645" l10n="U" xml-lang="en-US" oldref="17">On Error Goto ErrorHandler REM Define target for error-handler</paragraph>
+ <paragraph role="paragraph" id="par_id3145647" l10n="U" xml-lang="en-US" oldref="18">If Dir(&quot;C:\test&quot;,16)=&quot;&quot; Then MkDir &quot;C:\test&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3147126" l10n="U" xml-lang="en-US" oldref="19">If Dir(&quot;C:\test\autoexec.sav&quot;)=&quot;&quot; THEN Filecopy &quot;c:\autoexec.bat&quot;, &quot;c:\test\autoexec.sav&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3151074" l10n="U" xml-lang="en-US" oldref="20">SetAttr &quot;c:\test\autoexec.sav&quot; ,0</paragraph>
+ <paragraph role="paragraph" id="par_id3153158" l10n="U" xml-lang="en-US" oldref="21">Filecopy &quot;c:\autoexec.bat&quot;, &quot;c:\test\autoexec.sav&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3149378" l10n="U" xml-lang="en-US" oldref="22">SetAttr &quot;c:\test\autoexec.sav&quot; ,1</paragraph>
+ <paragraph role="paragraph" id="par_id3150716" l10n="U" xml-lang="en-US" oldref="23">print GetAttr( &quot;c:\test\autoexec.sav&quot; )</paragraph>
+ <paragraph role="paragraph" id="par_id3154018" l10n="U" xml-lang="en-US" oldref="24">end</paragraph>
+ <paragraph role="paragraph" id="par_id3149121" l10n="U" xml-lang="en-US" oldref="25">ErrorHandler:</paragraph>
+ <paragraph role="paragraph" id="par_id3156275" l10n="U" xml-lang="en-US" oldref="26">Print Error</paragraph>
+ <paragraph role="paragraph" id="par_id3153707" l10n="U" xml-lang="en-US" oldref="27">end</paragraph>
+ <paragraph role="paragraph" id="par_id3145640" l10n="U" xml-lang="en-US" oldref="28">end sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03020415.xhp b/helpcontent2/source/text/sbasic/shared/03020415.xhp
new file mode 100755
index 0000000000..f644d9ae39
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03020415.xhp
@@ -0,0 +1,90 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03020415xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">FileExists Function [Runtime]</title>
+<filename>/text/sbasic/shared/03020415.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="fileexists">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3148946"><bookmark_value>FileExists;function</bookmark_value></bookmark><paragraph id="hd_id3148946" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03020415.xhp" name="FileExists Function [Runtime]">FileExists Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3153361" l10n="U" xml-lang="en-US" oldref="2">Determines if a file or a directory is available on the data medium.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3150447" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3154685" l10n="U" xml-lang="en-US" oldref="4">FileExists(FileName As String | DirectoryName As String)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3154126" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3150769" l10n="U" xml-lang="en-US" oldref="6">Bool</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3153770" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3147349" l10n="U" oldref="8">FileName | DirectoryName: Any string expression that contains an unambiguous file specification. You can also use <link href="text/sbasic/shared/00000002.xhp" name="URL notation">URL notation</link>.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3149664" l10n="U" xml-lang="en-US" oldref="9">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3145272" l10n="U" xml-lang="en-US" oldref="10">sub ExampleFileExists</paragraph>
+
+ <paragraph role="paragraph" id="par_id3147317" l10n="U" xml-lang="en-US" oldref="12">msgbox FileExists(&quot;C:\autoexec.bat&quot;)</paragraph>
+ <paragraph role="paragraph" id="par_id3153190" l10n="U" xml-lang="en-US" oldref="13">msgbox FileExists(&quot;file:///d|/bookmark.htm&quot;)</paragraph>
+ <paragraph role="paragraph" id="par_id3148645" l10n="U" xml-lang="en-US" oldref="14">msgbox FileExists(&quot;file:///d|/private&quot;)</paragraph>
+ <paragraph role="paragraph" id="par_id3149262" l10n="U" xml-lang="en-US" oldref="15">end sub</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03030000.xhp b/helpcontent2/source/text/sbasic/shared/03030000.xhp
new file mode 100644
index 0000000000..dbcf1ede3c
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03030000.xhp
@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************-->
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03030000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Date and Time Functions</title>
+<filename>/text/sbasic/shared/03030000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="datumzeit">
+ <paragraph id="hd_id3150502" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03030000.xhp" name="Date and Time Functions">Date and Time Functions</link></paragraph>
+ <paragraph role="paragraph" id="par_id3153255" l10n="U" xml-lang="en-US" oldref="2">Use the statements and functions described here to perform date and time calculations.</paragraph>
+ </section>
+ <paragraph l10n="U" role="paragraph" id="par_id3152363" xml-lang="en-US" oldref="3"><item type="productname">%PRODUCTNAME</item> Basic lets you calculate time or date differences by converting the time and date values to continuous numeric values. After the difference is calculated, special functions are used to reconvert the values to the standard time or date formats.</paragraph>
+ <paragraph xml-lang="en-US" role="tip" id="par_id3151054" l10n="U" oldref="4">You can combine date and time values into a single floating-decimal number. Dates are converted to integers, and times to decimal values. <item type="productname">%PRODUCTNAME</item> Basic also supports the variable type Date, which can contain a time specification consisting of both a date and time.</paragraph>
+ <embed href="text/sbasic/shared/03030100.xhp#datumswerte"/>
+ <embed href="text/sbasic/shared/03030200.xhp#uhrzeiten"/>
+ <embed href="text/sbasic/shared/03030300.xhp#ermitteln"/>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03030100.xhp b/helpcontent2/source/text/sbasic/shared/03030100.xhp
new file mode 100755
index 0000000000..2d003fa0c1
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03030100.xhp
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03030100xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Converting Date Values</title>
+<filename>/text/sbasic/shared/03030100.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="datumswerte">
+ <paragraph id="hd_id3147573" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03030100.xhp" name="Converting Date Values">Converting Date Values</link></paragraph>
+ <paragraph role="paragraph" id="par_id3154760" l10n="U" xml-lang="en-US" oldref="2">The following functions convert date values to calculable numbers and back.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/03030101.xhp#dateserial"/>
+ <embed href="text/sbasic/shared/03030102.xhp#datevalue"/>
+ <embed href="text/sbasic/shared/03030103.xhp#day"/>
+ <embed href="text/sbasic/shared/03030104.xhp#month"/>
+ <embed href="text/sbasic/shared/03030105.xhp#weekday"/>
+ <embed href="text/sbasic/shared/03030106.xhp#year"/>
+ <embed href="text/sbasic/shared/03030107.xhp#cdatetoiso"/>
+ <embed href="text/sbasic/shared/03030108.xhp#cdatefromiso"/>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03030101.xhp b/helpcontent2/source/text/sbasic/shared/03030101.xhp
new file mode 100755
index 0000000000..27bc39ba25
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03030101.xhp
@@ -0,0 +1,98 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03030101xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">DateSerial Function [Runtime]</title>
+<filename>/text/sbasic/shared/03030101.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="dateserial">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3157896"><bookmark_value>DateSerial;function</bookmark_value></bookmark><paragraph id="hd_id3157896" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03030101.xhp" name="DateSerial Function [Runtime]">DateSerial Function [Runtime]</link></paragraph>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3143267" l10n="U" oldref="2">Returns a <emph>Date</emph> value for a specified year, month, or day.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3147264" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3149670" l10n="U" xml-lang="en-US" oldref="4">DateSerial (year, month, day)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3150792" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3150398" l10n="U" xml-lang="en-US" oldref="6">Date</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3154141" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3147229" xml-lang="en-US" oldref="8"><emph>Year:</emph> Integer expression that indicates a year. All values between 0 and 99 are interpreted as the years 1900-1999. For years that fall outside this range, you must enter all four digits.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3156280" xml-lang="en-US" oldref="9"><emph>Month:</emph> Integer expression that indicates the month of the specified year. The accepted range is from 1-12.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3151043" xml-lang="en-US" oldref="10"><emph>Day:</emph> Integer expression that indicates the day of the specified month. The accepted range is from 1-31, depending on the month.</paragraph>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3161832" l10n="U" oldref="11">The <emph>DateSerial function</emph> returns the number of days between December 30,1899 and the given date. You can use this function to calculate the difference between two dates.</paragraph>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3155306" l10n="U" oldref="12">The <emph>DateSerial function</emph> returns the data type Variant with VarType 7 (Date). Internally, this value is stored as a Double value, so that when the given date is 1.1.1900, the returned value is 2. Negative values correspond to dates before December 30, 1899 (not inclusive).</paragraph>
+ <paragraph role="paragraph" id="par_id3152576" l10n="U" xml-lang="en-US" oldref="13">If a date is defined that lies outside of the accepted range, $[officename] Basic returns an error message.</paragraph>
+ <paragraph xml-lang="en-US" oldref="14" role="paragraph" id="par_id3149481" l10n="U">Whereas you define the <emph>DateValue function</emph> as a string that contains the date, the <emph>DateSerial function</emph> evaluates each of the parameters (year, month, day) as separate numeric expressions.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3155411" l10n="U" xml-lang="en-US" oldref="15">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3148646" l10n="U" xml-lang="en-US" oldref="16">Sub ExampleDateSerial</paragraph>
+ <paragraph role="paragraph" id="par_id3156441" l10n="U" xml-lang="en-US" oldref="17">Dim lDate as Long</paragraph>
+ <paragraph role="paragraph" id="par_id3154791" l10n="U" xml-lang="en-US" oldref="18">Dim sDate as String</paragraph>
+ <paragraph role="paragraph" id="par_id3155415" l10n="U" xml-lang="en-US" oldref="19">lDate = DateSerial(1964, 4, 9)</paragraph>
+ <paragraph role="paragraph" id="par_id3147125" l10n="U" xml-lang="en-US" oldref="20">sDate = DateSerial(1964, 4, 9)</paragraph>
+ <paragraph role="paragraph" id="par_id3154942" l10n="U" xml-lang="en-US" oldref="21">msgbox lDate REM returns 23476</paragraph>
+ <paragraph role="paragraph" id="par_id3151074" l10n="U" xml-lang="en-US" oldref="22">msgbox sDate REM returns 09.04.1964 00:00:00</paragraph>
+ <paragraph role="paragraph" id="par_id3153878" l10n="U" xml-lang="en-US" oldref="23">end sub</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03030102.xhp b/helpcontent2/source/text/sbasic/shared/03030102.xhp
new file mode 100755
index 0000000000..18221cc211
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03030102.xhp
@@ -0,0 +1,90 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03030102xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">DateValue Function [Runtime]</title>
+<filename>/text/sbasic/shared/03030102.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="datevalue">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3156344"><bookmark_value>DateValue;function</bookmark_value></bookmark><paragraph id="hd_id3156344" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03030102.xhp" name="DateValue Function [Runtime]">DateValue Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3150542" l10n="U" xml-lang="en-US" oldref="2">Returns a number from a date string. The date string is a complete date in a single numeric value. You can also use this serial number to determine the difference between two dates.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3148799" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3154910" l10n="U" xml-lang="en-US" oldref="4">DateValue [(date)]</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3150870" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3153194" l10n="U" xml-lang="en-US" oldref="6">Long</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3153969" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3153770" xml-lang="en-US" oldref="8"><emph>Date:</emph> String expression that contains the date that you want to calculate. The date can be specified in almost any format.</paragraph>
+ <paragraph role="paragraph" id="par_id3153189" l10n="U" xml-lang="en-US" oldref="22">You can use this function to convert a date that occurs between December 1, 1582 and December 31, 9999 into a single integer value. You can then use this value to calculate the difference between two dates. If the date argument lies outside the acceptable range, $[officename] Basic returns an error message.</paragraph>
+ <paragraph role="paragraph" id="par_id3146974" l10n="U" xml-lang="en-US" oldref="23">In contrast to the DateSerial function that passes years, months, and days as separate numeric values, the DateValue function passes the date using the format &quot;month.[,]day.[,]year&quot;.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#languageformat"/>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3153142" l10n="U" xml-lang="en-US" oldref="24">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3155412" l10n="U" xml-lang="en-US" oldref="25">Sub ExampleDateValue</paragraph>
+ <paragraph role="paragraph" id="par_id3153363" l10n="U" xml-lang="en-US" oldref="26">msgbox DateValue(&quot;12/02/1997&quot;)</paragraph>
+ <paragraph role="paragraph" id="par_id3149262" l10n="U" xml-lang="en-US" oldref="27">end sub</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03030103.xhp b/helpcontent2/source/text/sbasic/shared/03030103.xhp
new file mode 100755
index 0000000000..0676360453
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03030103.xhp
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03030103xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Day Function [Runtime]</title>
+<filename>/text/sbasic/shared/03030103.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="day">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3153345"><bookmark_value>Day;function</bookmark_value></bookmark><paragraph id="hd_id3153345" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03030103.xhp" name="Day Function [Runtime]">Day Function [Runtime]</link></paragraph>
+ <paragraph xml-lang="en-US" oldref="2" role="paragraph" id="par_id3147560" l10n="U">Returns a value that represents the day of the month based on a serial date number generated by <emph>DateSerial</emph> or <emph>DateValue</emph>.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3149456" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3150358" l10n="U" xml-lang="en-US" oldref="4">Day (Number)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3148798" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3125865" l10n="U" xml-lang="en-US" oldref="6">Integer</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3150448" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3156423" xml-lang="en-US" oldref="8"><emph>Number:</emph> A numeric expression that contains a serial date number from which you can determine the day of the month.</paragraph>
+ <paragraph xml-lang="en-US" oldref="9" role="paragraph" id="par_id3145786" l10n="U">This function is basically the opposite of the DateSerial function, returning the day of the month from a serial date number generated by the <emph>DateSerial</emph> or the <emph>DateValue</emph> function. For example, the expression</paragraph>
+ <paragraph role="paragraph" id="par_id3145364" l10n="U" xml-lang="en-US" oldref="10">Print Day (DateSerial(1994, 12, 20))</paragraph>
+ <paragraph role="paragraph" id="par_id3153190" l10n="U" xml-lang="en-US" oldref="11">returns the value 20.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3149481" l10n="U" xml-lang="en-US" oldref="12">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3155413" l10n="U" xml-lang="en-US" oldref="13">sub ExampleDay</paragraph>
+ <paragraph role="paragraph" id="par_id3149260" l10n="U" xml-lang="en-US" oldref="14">Print &quot;Day &quot; &amp; Day(DateSerial(1994, 12, 20)) &amp; &quot; of the month&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3148645" l10n="U" xml-lang="en-US" oldref="15">end sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03030104.xhp b/helpcontent2/source/text/sbasic/shared/03030104.xhp
new file mode 100755
index 0000000000..42fe7c452d
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03030104.xhp
@@ -0,0 +1,90 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03030104xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Month Function [Runtime]</title>
+<filename>/text/sbasic/shared/03030104.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="month">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3153127"><bookmark_value>Month;function</bookmark_value></bookmark><paragraph id="hd_id3153127" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03030104.xhp" name="Month Function [Runtime]">Month Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3148550" l10n="U" xml-lang="en-US" oldref="2">Returns the month of a year from a serial date that is generated by the DateSerial or the DateValue function.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3145068" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3150398" l10n="U" xml-lang="en-US" oldref="4">Month (Number)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3154366" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3154125" l10n="U" xml-lang="en-US" oldref="6">Integer</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3150768" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3156423" xml-lang="en-US" oldref="8"><emph>Number:</emph> Numeric expression that contains the serial date number that is used to determine the month of the year.</paragraph>
+ <paragraph xml-lang="en-US" oldref="9" l10n="U" role="paragraph" id="par_id3153770">This function is the opposite of the <emph>DateSerial </emph>function. It returns the month in the year that corresponds to the serial date that is generated by <emph>DateSerial</emph> or <emph>DateValue</emph>. For example, the expression</paragraph>
+ <paragraph role="paragraph" id="par_id3147426" l10n="U" xml-lang="en-US" oldref="10">Print Month(DateSerial(1994, 12, 20))</paragraph>
+ <paragraph role="paragraph" id="par_id3145366" l10n="U" xml-lang="en-US" oldref="11">returns the value 12.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3146923" l10n="U" xml-lang="en-US" oldref="12">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3156442" l10n="U" xml-lang="en-US" oldref="13">Sub ExampleMonth</paragraph>
+ <paragraph role="paragraph" id="par_id3149664" l10n="U" xml-lang="en-US" oldref="14">MsgBox &quot;&quot; &amp; Month(Now) ,64,&quot;The current month&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3150012" l10n="U" xml-lang="en-US" oldref="15">End sub</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03030105.xhp b/helpcontent2/source/text/sbasic/shared/03030105.xhp
new file mode 100755
index 0000000000..ae189f8ffa
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03030105.xhp
@@ -0,0 +1,105 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03030105xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">WeekDay Function [Runtime]</title>
+<filename>/text/sbasic/shared/03030105.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="weekday">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3153127"><bookmark_value>WeekDay;function</bookmark_value></bookmark><paragraph id="hd_id3153127" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03030105.xhp" name="WeekDay Function [Runtime]">WeekDay Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3146795" l10n="U" xml-lang="en-US" oldref="2">Returns the number corresponding to the weekday represented by a serial date number that is generated by the DateSerial or the DateValue function.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3145068" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3149655" l10n="U" xml-lang="en-US" oldref="4">WeekDay (Number)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3148799" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3154125" l10n="U" xml-lang="en-US" oldref="6">Integer</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3150768" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3151042" xml-lang="en-US" oldref="8"><emph>Number:</emph> Integer expression that contains the serial date number that is used to calculate the day of the week (1-7).</paragraph>
+ <paragraph role="paragraph" id="par_id3159254" l10n="U" xml-lang="en-US" oldref="9">The following example determines the day of the week using the WeekDay function when you enter a date.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3148616" l10n="U" xml-lang="en-US" oldref="10">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3145749" l10n="U" xml-lang="en-US" oldref="11">Sub ExampleWeekDay</paragraph>
+ <paragraph role="paragraph" id="par_id3147426" l10n="U" xml-lang="en-US" oldref="12">Dim sDay As String</paragraph>
+ <paragraph role="paragraph" id="par_id3148576" l10n="U" xml-lang="en-US" oldref="13">REM Return and display the day of the week</paragraph>
+ <paragraph role="paragraph" id="par_id3155412" l10n="U" xml-lang="en-US" oldref="14">Select Case WeekDay( Now )</paragraph>
+ <paragraph role="paragraph" id="par_id3155306" l10n="U" xml-lang="en-US" oldref="15">case 1</paragraph>
+ <paragraph role="paragraph" id="par_id3151117" l10n="U" xml-lang="en-US" oldref="16">sDay=&quot;Sunday&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3152460" l10n="U" xml-lang="en-US" oldref="17">case 2</paragraph>
+ <paragraph role="paragraph" id="par_id3153952" l10n="U" xml-lang="en-US" oldref="18">sDay=&quot;Monday&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3149666" l10n="U" xml-lang="en-US" oldref="19">case 3</paragraph>
+ <paragraph role="paragraph" id="par_id3153157" l10n="U" xml-lang="en-US" oldref="20">sDay=&quot;Tuesday&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3154730" l10n="U" xml-lang="en-US" oldref="21">case 4</paragraph>
+ <paragraph role="paragraph" id="par_id3154942" l10n="U" xml-lang="en-US" oldref="22">sDay=&quot;Wednesday&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3145799" l10n="U" xml-lang="en-US" oldref="23">case 5</paragraph>
+ <paragraph role="paragraph" id="par_id3155416" l10n="U" xml-lang="en-US" oldref="24">sDay=&quot;Thursday&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3150716" l10n="U" xml-lang="en-US" oldref="25">case 6</paragraph>
+ <paragraph role="paragraph" id="par_id3154015" l10n="U" xml-lang="en-US" oldref="26">sDay=&quot;Friday&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3146971" l10n="U" xml-lang="en-US" oldref="27">case 7</paragraph>
+ <paragraph role="paragraph" id="par_id3153707" l10n="U" xml-lang="en-US" oldref="28">sDay=&quot;Saturday&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3155065" l10n="U" xml-lang="en-US" oldref="29">End Select</paragraph>
+ <paragraph role="paragraph" id="par_id3148993" l10n="U" xml-lang="en-US" oldref="30">msgbox &quot;&quot; + sDay,64,&quot;Today is&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3149019" l10n="U" xml-lang="en-US" oldref="31">End Sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03030106.xhp b/helpcontent2/source/text/sbasic/shared/03030106.xhp
new file mode 100755
index 0000000000..703e54b7e1
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03030106.xhp
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03030106xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Year Function [Runtime]</title>
+<filename>/text/sbasic/shared/03030106.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="year">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3148664"><bookmark_value>Year;function</bookmark_value></bookmark><paragraph id="hd_id3148664" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03030106.xhp" name="Year Function [Runtime]">Year Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3149655" l10n="U" xml-lang="en-US" oldref="2">Returns the year from a serial date number that is generated by the DateSerial or the DateValue function.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3154125" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3147229" l10n="U" xml-lang="en-US" oldref="4">Year (Number)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3154685" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3153970" l10n="U" xml-lang="en-US" oldref="6">Integer</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3150440" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3163712" xml-lang="en-US" oldref="8"><emph>Number:</emph> Integer expression that contains the serial date number that is used to calculate the year.</paragraph>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3152596" l10n="U" oldref="9">This function is the opposite of the <emph>DateSerial </emph>function, and returns the year of a serial date. For example, the expression:</paragraph>
+ <paragraph role="paragraph" id="par_id3154319" l10n="U" xml-lang="en-US" oldref="10">Print Year(DateSerial(1994, 12, 20))</paragraph>
+ <paragraph role="paragraph" id="par_id3149483" l10n="U" xml-lang="en-US" oldref="11">returns the value 1994.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3146985" l10n="U" xml-lang="en-US" oldref="12">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3153952" l10n="U" xml-lang="en-US" oldref="13">Sub ExampleYear</paragraph>
+ <paragraph role="paragraph" id="par_id3153363" l10n="U" xml-lang="en-US" oldref="14">MsgBox &quot;&quot; &amp; Year(Now) ,64,&quot;Current year&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3145274" l10n="U" xml-lang="en-US" oldref="15">End sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03030107.xhp b/helpcontent2/source/text/sbasic/shared/03030107.xhp
new file mode 100755
index 0000000000..8af8e11048
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03030107.xhp
@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03030107xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">CDateToIso Function [Runtime]</title>
+<filename>/text/sbasic/shared/03030107.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="cdatetoiso">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3150620"><bookmark_value>CdateToIso; function</bookmark_value></bookmark><paragraph id="hd_id3150620" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03030107.xhp" name="CDateToIso Function [Runtime]">CDateToIso Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3151097" l10n="U" xml-lang="en-US" oldref="2">Returns the date in ISO format from a serial date number that is generated by the DateSerial or the DateValue function.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3159224" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3149497" l10n="U" xml-lang="en-US" oldref="4">CDateToIso(Number)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3152347" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3154422" l10n="U" xml-lang="en-US" oldref="6">String</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3147303" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3145136" xml-lang="en-US" oldref="8"><emph>Number:</emph> Integer that contains the serial date number.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3147243" l10n="U" xml-lang="en-US" oldref="9">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3156152" l10n="U" xml-lang="en-US" oldref="10">Sub ExampleCDateToIso</paragraph>
+ <paragraph role="paragraph" id="par_id3153126" l10n="U" xml-lang="en-US" oldref="11">MsgBox &quot;&quot; &amp; CDateToIso(Now) ,64,&quot;ISO Date&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3143228" l10n="U" xml-lang="en-US" oldref="12">End Sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03030108.xhp b/helpcontent2/source/text/sbasic/shared/03030108.xhp
new file mode 100755
index 0000000000..d129eae45c
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03030108.xhp
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03030108xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">CDateFromIso Function [Runtime]</title>
+<filename>/text/sbasic/shared/03030108.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="cdatefromiso">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3153127"><bookmark_value>CdateFromIso;function</bookmark_value></bookmark><paragraph id="hd_id3153127" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03030108.xhp" name="CDateFromIso Function [Runtime]">CDateFromIso Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3148550" l10n="U" xml-lang="en-US" oldref="2">Returns the internal date number from a string that contains a date in ISO format.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3148947" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3150400" l10n="U" xml-lang="en-US" oldref="4">CDateFromIso(String)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3154367" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3156212" l10n="U" xml-lang="en-US" oldref="6">Internal date number</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3125864" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3154685" xml-lang="en-US" oldref="8"><emph>String:</emph> A string that contains a date in ISO format. The year may have two or four digits.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3150439" l10n="U" xml-lang="en-US" oldref="9">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3147318" l10n="U" xml-lang="en-US" oldref="10">dateval = CDateFromIso(&quot;20021231&quot;)</paragraph>
+ <paragraph role="paragraph" id="par_id3146921" l10n="U" xml-lang="en-US" oldref="11">returns 12/31/2002 in the date format of your system</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03030200.xhp b/helpcontent2/source/text/sbasic/shared/03030200.xhp
new file mode 100755
index 0000000000..162cbe36eb
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03030200.xhp
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03030200xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Converting Time Values</title>
+<filename>/text/sbasic/shared/03030200.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="uhrzeiten">
+ <paragraph id="hd_id3147226" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03030200.xhp" name="Converting Time Values">Converting Time Values</link></paragraph>
+ <paragraph role="paragraph" id="par_id3149415" l10n="U" xml-lang="en-US" oldref="2">The following functions convert time values to calculable numbers.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/03030201.xhp#hour"/>
+ <embed href="text/sbasic/shared/03030202.xhp#minute"/>
+ <embed href="text/sbasic/shared/03030204.xhp#second"/>
+ <embed href="text/sbasic/shared/03030205.xhp#timeserial"/>
+ <embed href="text/sbasic/shared/03030206.xhp#timevalue"/>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03030201.xhp b/helpcontent2/source/text/sbasic/shared/03030201.xhp
new file mode 100755
index 0000000000..da2d42863e
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03030201.xhp
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03030201xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Hour Function [Runtime]</title>
+<filename>/text/sbasic/shared/03030201.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="hour">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3156042"><bookmark_value>Hour;function</bookmark_value></bookmark><paragraph id="hd_id3156042" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03030201.xhp" name="Hour Function [Runtime]">Hour Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3149346" l10n="U" xml-lang="en-US" oldref="2">Returns the hour from a time value that is generated by the TimeSerial or the TimeValue function.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3147574" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3147264" l10n="U" xml-lang="en-US" oldref="4">Hour (Number)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3145069" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3149670" l10n="U" xml-lang="en-US" oldref="6">Integer</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3150359" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3154366" xml-lang="en-US" oldref="8"><emph>Number:</emph> Numeric expression that contains the serial time value that is used to return the hour value.</paragraph>
+ <paragraph xml-lang="en-US" oldref="9" l10n="U" role="paragraph" id="par_id3154909">This function is the opposite of the <emph>TimeSerial</emph> function. It returns an integer value that represents the hour from a time value that is generated by the <emph>TimeSerial</emph> or the <emph>TimeValue </emph>function. For example, the expression</paragraph>
+ <paragraph role="paragraph" id="par_id3163798" l10n="U" xml-lang="en-US" oldref="10">Print Hour(TimeSerial(12:30:41))</paragraph>
+ <paragraph role="paragraph" id="par_id3155132" l10n="U" xml-lang="en-US" oldref="11">returns the value 12.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3147348" l10n="U" xml-lang="en-US" oldref="12">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3146985" l10n="U" xml-lang="en-US" oldref="13">Sub ExampleHour</paragraph>
+ <paragraph role="paragraph" id="par_id3156441" l10n="U" xml-lang="en-US" oldref="14">Print &quot;The current hour is &quot; &amp; Hour( Now )</paragraph>
+ <paragraph role="paragraph" id="par_id3153145" l10n="U" xml-lang="en-US" oldref="15">End Sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03030202.xhp b/helpcontent2/source/text/sbasic/shared/03030202.xhp
new file mode 100755
index 0000000000..55256a37b0
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03030202.xhp
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03030202xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Minute Function [Runtime]</title>
+<filename>/text/sbasic/shared/03030202.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="minute">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3155419"><bookmark_value>Minute;function</bookmark_value></bookmark><paragraph id="hd_id3155419" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03030202.xhp" name="Minute Function [Runtime]">Minute Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3156344" l10n="U" xml-lang="en-US" oldref="2">Returns the minute of the hour that corresponds to the serial time value that is generated by the TimeSerial or the TimeValue function.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3154758" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3149656" l10n="U" xml-lang="en-US" oldref="4">Minute (Number)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3148798" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3150449" l10n="U" xml-lang="en-US" oldref="6">Integer</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3153193" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3153969" xml-lang="en-US" oldref="8"><emph>Number:</emph> Numeric expression that contains the serial time value that is used to return the minute value.</paragraph>
+ <paragraph xml-lang="en-US" oldref="9" l10n="U" role="paragraph" id="par_id3150869">This function is the opposite of the <emph>TimeSerial </emph>function. It returns the minute of the serial time value that is generated by the <emph>TimeSerial</emph> or the <emph>TimeValue </emph>function. For example, the expression:</paragraph>
+ <paragraph role="paragraph" id="par_id3149262" l10n="U" xml-lang="en-US" oldref="10">Print Minute(TimeSerial(12:30:41))</paragraph>
+ <paragraph role="paragraph" id="par_id3148576" l10n="U" xml-lang="en-US" oldref="11">returns the value 30.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3150010" l10n="U" xml-lang="en-US" oldref="12">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3159154" l10n="U" xml-lang="en-US" oldref="13">Sub ExampleMinute</paragraph>
+ <paragraph role="paragraph" id="par_id3146119" l10n="U" xml-lang="en-US" oldref="14">MsgBox &quot;The current minute is &quot;&amp; Minute(Now)&amp; &quot;.&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3153726" l10n="U" xml-lang="en-US" oldref="15">end sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03030203.xhp b/helpcontent2/source/text/sbasic/shared/03030203.xhp
new file mode 100755
index 0000000000..5690673c18
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03030203.xhp
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03030203xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Now Function [Runtime]</title>
+<filename>/text/sbasic/shared/03030203.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="now">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3149416"><bookmark_value>Now;function</bookmark_value></bookmark><paragraph id="hd_id3149416" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03030203.xhp" name="Now Function [Runtime]">Now Function [Runtime]</link></paragraph>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3149670" l10n="U" oldref="2">Returns the current system date and time as a <emph>Date</emph> value.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3149456" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3149655" l10n="U" xml-lang="en-US" oldref="4">Now</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3154366" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3154909" l10n="U" xml-lang="en-US" oldref="6">Date</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3147229" l10n="U" xml-lang="en-US" oldref="7">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3145172" l10n="U" xml-lang="en-US" oldref="8">Sub ExampleNow</paragraph>
+ <paragraph role="paragraph" id="par_id3150870" l10n="U" xml-lang="en-US" oldref="9">msgbox &quot;It is now &quot; &amp; Now</paragraph>
+ <paragraph role="paragraph" id="par_id3145787" l10n="U" xml-lang="en-US" oldref="10">End sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03030204.xhp b/helpcontent2/source/text/sbasic/shared/03030204.xhp
new file mode 100755
index 0000000000..1335de9477
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03030204.xhp
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03030204xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Second Function [Runtime]</title>
+<filename>/text/sbasic/shared/03030204.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="second">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3153346"><bookmark_value>Second;function</bookmark_value></bookmark><paragraph id="hd_id3153346" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03030204.xhp" name="Second Function [Runtime]">Second Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3156023" l10n="U" xml-lang="en-US" oldref="2">Returns an integer that represents the seconds of the serial time number that is generated by the TimeSerial or the TimeValue function.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3147264" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3146795" l10n="U" xml-lang="en-US" oldref="4">Second (Number)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3150792" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3154140" l10n="U" xml-lang="en-US" oldref="6">Integer</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3156280" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3154124" xml-lang="en-US" oldref="8"><emph>Number:</emph> Numeric expression that contains the serial time number that is used to calculate the number of seconds.</paragraph>
+ <paragraph xml-lang="en-US" oldref="9" l10n="U" role="paragraph" id="par_id3125864">This function is the opposite of the <emph>TimeSerial </emph>function. It returns the seconds of a serial time value that is generated by the <emph>TimeSerial</emph> or <emph>TimeValue </emph>functions. For example, the expression:</paragraph>
+ <paragraph role="paragraph" id="par_id3153951" l10n="U" xml-lang="en-US" oldref="10">Print Second(TimeSerial(12,30,41))</paragraph>
+ <paragraph role="paragraph" id="par_id3151117" l10n="U" xml-lang="en-US" oldref="11">returns the value 41.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3147426" l10n="U" xml-lang="en-US" oldref="12">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3154012" l10n="U" xml-lang="en-US" oldref="13">Sub ExampleSecond</paragraph>
+ <paragraph role="paragraph" id="par_id3156441" l10n="U" xml-lang="en-US" oldref="14">MsgBox &quot;The exact second of the current time is &quot;&amp; Second( Now )</paragraph>
+ <paragraph role="paragraph" id="par_id3151112" l10n="U" xml-lang="en-US" oldref="15">End sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03030205.xhp b/helpcontent2/source/text/sbasic/shared/03030205.xhp
new file mode 100755
index 0000000000..f3114eb0aa
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03030205.xhp
@@ -0,0 +1,100 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03030205xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">TimeSerial Function [Runtime]</title>
+<filename>/text/sbasic/shared/03030205.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="timeserial">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3143271"><bookmark_value>TimeSerial;function</bookmark_value></bookmark><paragraph id="hd_id3143271" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03030205.xhp" name="TimeSerial Function [Runtime]">TimeSerial Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3156344" l10n="U" xml-lang="en-US" oldref="2">Calculates a serial time value for the specified hour, minute, and second parameters that are passed as numeric value. You can then use this value to calculate the difference between times.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3146794" l10n="U" xml-lang="en-US" oldref="4">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3150792" l10n="U" xml-lang="en-US" oldref="5">TimeSerial (hour, minute, second)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3148797" l10n="U" xml-lang="en-US" oldref="6">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3154908" l10n="U" xml-lang="en-US" oldref="7">Date</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3154124" l10n="U" xml-lang="en-US" oldref="8">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3153193" xml-lang="en-US" oldref="9"><emph>hour:</emph> Any integer expression that indicates the hour of the time that is used to determine the serial time value. Valid values: 0-23.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3159252" xml-lang="en-US" oldref="10"><emph>minute:</emph> Any integer expression that indicates the minute of the time that is used to determine the serial time value. In general, use values between 0 and 59. However, you can also use values that lie outside of this range, where the number of minutes influence the hour value.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3161831" xml-lang="en-US" oldref="11"><emph>second:</emph> Any integer expression that indicates the second of the time that is used to determine the serial time value. In general, you can use values between 0 and 59. However, you can also use values that lie outside of this range, where the number seconds influences the minute value.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3155854" xml-lang="en-US" oldref="12"><emph>Examples:</emph></paragraph>
+ <paragraph role="paragraph" id="par_id3153952" l10n="U" xml-lang="en-US" oldref="13">12, -5, 45 corresponds to 11, 55, 45</paragraph>
+ <paragraph role="paragraph" id="par_id3147349" l10n="U" xml-lang="en-US" oldref="14">12, 61, 45 corresponds to 13, 2, 45</paragraph>
+ <paragraph role="paragraph" id="par_id3147426" l10n="U" xml-lang="en-US" oldref="15">12, 20, -2 corresponds to 12, 19, 58</paragraph>
+ <paragraph role="paragraph" id="par_id3153365" l10n="U" xml-lang="en-US" oldref="16">12, 20, 63 corresponds to 12, 21, 4</paragraph>
+ <paragraph role="paragraph" id="par_id3146985" l10n="U" xml-lang="en-US" oldref="17">You can use the TimeSerial function to convert any time into a single value that you can use to calculate time differences.</paragraph>
+ <paragraph role="paragraph" id="par_id3155308" l10n="U" xml-lang="en-US" oldref="18">The TimeSerial function returns the type Variant with VarType 7 (Date). This value is stored internally as a double-precision number between 0 and 0.9999999999. As opposed to the DateSerial or DateValue function, where the serial date values are calculated as days relative to a fixed date, you can calculate with values returned by the TimeSerial function, but you cannot evaluate them.</paragraph>
+ <paragraph role="paragraph" id="par_id3149482" l10n="U" xml-lang="en-US" oldref="19">In the TimeValue function, you can pass a string as a parameter containing the time. For the TimeSerial function, however, you can pass the individual parameters (hour, minute, second) as separate numeric expressions.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3154790" l10n="U" xml-lang="en-US" oldref="20">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3145252" l10n="U" xml-lang="en-US" oldref="21">Sub ExampleTimeSerial</paragraph>
+ <paragraph role="paragraph" id="par_id3153157" l10n="U" xml-lang="en-US" oldref="22">Dim dDate As Double, sDate As String</paragraph>
+ <paragraph role="paragraph" id="par_id3156286" l10n="U" xml-lang="en-US" oldref="23">dDate = TimeSerial(8,30,15)</paragraph>
+ <paragraph role="paragraph" id="par_id3148456" l10n="U" xml-lang="en-US" oldref="24">sDate = TimeSerial(8,30,15)</paragraph>
+ <paragraph role="paragraph" id="par_id3155600" l10n="U" xml-lang="en-US" oldref="25">MsgBox dDate,64,&quot;Time as a number&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3153417" l10n="U" xml-lang="en-US" oldref="26">MsgBox sDate,64,&quot;Formatted time&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3153836" l10n="U" xml-lang="en-US" oldref="27">End Sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03030206.xhp b/helpcontent2/source/text/sbasic/shared/03030206.xhp
new file mode 100755
index 0000000000..971ad03f97
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03030206.xhp
@@ -0,0 +1,103 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03030206xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">TimeValue Function [Runtime]</title>
+<filename>/text/sbasic/shared/03030206.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="timevalue">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3149670"><bookmark_value>TimeValue;function</bookmark_value></bookmark><paragraph id="hd_id3149670" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03030206.xhp" name="TimeValue Function [Runtime]">TimeValue Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3153361" l10n="U" xml-lang="en-US" oldref="2">Calculates a serial time value from the specified hour, minute, and second - parameters passed as strings - that represents the time in a single numeric value. This value can be used to calculate the difference between times.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3154138" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3156282" l10n="U" xml-lang="en-US" oldref="4">TimeValue (Text As String)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3153969" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3156424" l10n="U" xml-lang="en-US" oldref="6">Date</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3145172" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3145786" xml-lang="en-US" oldref="8"><emph>Text:</emph> Any string expression that contains the time that you want to calculate in the format &quot;HH:MM:SS&quot;.</paragraph>
+ <paragraph role="paragraph" id="par_id3152578" l10n="U" xml-lang="en-US" oldref="9">Use the TimeValue function to convert any time into a single value, so that you can calculate time differences.</paragraph>
+ <paragraph role="paragraph" id="par_id3163710" l10n="U" xml-lang="en-US" oldref="10">This TimeValue function returns the type Variant with VarType 7 (Date), and stores this value internally as a double-precision number between 0 and 0.9999999999.</paragraph>
+ <paragraph role="paragraph" id="par_id3151117" l10n="U" xml-lang="en-US" oldref="11">As opposed to the DateSerial or the DateValue function, where serial date values result in days relative to a fixed date, you can calculate with the values that are returned by the TimeValue function, but you cannot evaluate them.</paragraph>
+ <paragraph role="paragraph" id="par_id3147426" l10n="U" xml-lang="en-US" oldref="12">In the TimeSerial function, you can pass individual parameters (hour, minute, second) as separate numeric expressions. For the TimeValue function, however, you can pass a string as a parameter containing the time.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err13"/>
+ <paragraph role="heading" level="2" id="hd_id3145271" l10n="U" xml-lang="en-US" oldref="13">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3152597" l10n="U" xml-lang="en-US" oldref="30">Sub ExampleTimerValue</paragraph>
+ <paragraph role="paragraph" id="par_id3147348" l10n="U" xml-lang="en-US" oldref="31">Dim daDT as Date</paragraph>
+ <paragraph role="paragraph" id="par_id3148576" l10n="U" xml-lang="en-US" oldref="32">Dim a1, b1, c1, a2, b2, c2 as String</paragraph>
+ <paragraph role="paragraph" id="par_id3149378" l10n="U" xml-lang="en-US" oldref="33">a1 = &quot;start time&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3145800" l10n="U" xml-lang="en-US" oldref="34">b1 = &quot;end time&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3151074" l10n="U" xml-lang="en-US" oldref="35">c1 = &quot;total time&quot;</paragraph>
+
+ <paragraph role="paragraph" id="par_id3154492" l10n="U" xml-lang="en-US" oldref="37">a2 = &quot;8:34&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3155602" l10n="U" xml-lang="en-US" oldref="38">b2 = &quot;18:12&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3150715" l10n="U" xml-lang="en-US" oldref="39">daDT = TimeValue(b2) - TimeValue(a2)</paragraph>
+ <paragraph role="paragraph" id="par_id3153838" l10n="U" xml-lang="en-US" oldref="40">c2 = a1 &amp; &quot;: &quot; &amp; a2 &amp; chr(13)</paragraph>
+ <paragraph role="paragraph" id="par_id3150749" l10n="U" xml-lang="en-US" oldref="41">c2 = c2 &amp; b1 &amp; &quot;: &quot; &amp; b2 &amp; chr(13)</paragraph>
+ <paragraph role="paragraph" id="par_id3154755" l10n="U" xml-lang="en-US" oldref="42">c2 = c2 &amp; c1 &amp; &quot;: &quot; &amp; trim(Str(Hour(daDT))) &amp; &quot;:&quot; &amp; trim(Str(Minute(daDT))) &amp; &quot;:&quot; &amp; trim(Str(Second(daDT)))</paragraph>
+ <paragraph role="paragraph" id="par_id3153714" l10n="U" xml-lang="en-US" oldref="43">Msgbox c2</paragraph>
+ <paragraph role="paragraph" id="par_id3155767" l10n="U" xml-lang="en-US" oldref="44">end sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03030300.xhp b/helpcontent2/source/text/sbasic/shared/03030300.xhp
new file mode 100755
index 0000000000..42bc75b142
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03030300.xhp
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03030300xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">System Date and Time</title>
+<filename>/text/sbasic/shared/03030300.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="ermitteln">
+ <paragraph id="hd_id3154923" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03030300.xhp" name="System Date and Time">System Date and Time</link></paragraph>
+ <paragraph role="paragraph" id="par_id3149457" l10n="U" xml-lang="en-US" oldref="2">The following functions and statements set or return the system date and time.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/03030301.xhp#date"/>
+ <embed href="text/sbasic/shared/03030203.xhp#now"/>
+ <embed href="text/sbasic/shared/03030302.xhp#time"/>
+ <embed href="text/sbasic/shared/03030303.xhp#timer"/>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03030301.xhp b/helpcontent2/source/text/sbasic/shared/03030301.xhp
new file mode 100755
index 0000000000..2c20720e0c
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03030301.xhp
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03030301xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Date Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03030301.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="date">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3156027"><bookmark_value>Date;function</bookmark_value></bookmark><paragraph id="hd_id3156027" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03030301.xhp" name="Date Statement [Runtime]">Date Statement [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3147291" l10n="U" xml-lang="en-US" oldref="2">Returns the current system date as a string, or resets the date. The date format depends on your local system settings.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3148686" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3146794" l10n="U" xml-lang="en-US" oldref="4">Date ; Date = Text As String</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3154347" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3145069" xml-lang="en-US" oldref="6"><emph>Text:</emph> Only required in order to reset the system date. In this case, the string expression must correspond to the date format defined in your local settings.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3150793" l10n="U" xml-lang="en-US" oldref="7">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3151212" l10n="U" xml-lang="en-US" oldref="8">Sub ExampleDate</paragraph>
+ <paragraph role="paragraph" id="par_id3156424" l10n="U" xml-lang="en-US" oldref="9">msgbox &quot;The date is &quot; &amp; Date</paragraph>
+ <paragraph role="paragraph" id="par_id3145174" l10n="U" xml-lang="en-US" oldref="10">end sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03030302.xhp b/helpcontent2/source/text/sbasic/shared/03030302.xhp
new file mode 100755
index 0000000000..a76c306843
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03030302.xhp
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03030302xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Time Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03030302.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-05-12T14:35:13">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="time">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3145090"><bookmark_value>Time;function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3145090" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03030302.xhp">Time Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3150984" xml-lang="en-US" l10n="U" oldref="2">This function returns the current system time as a string in the format "HH:MM:SS".</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3154346" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3149670" xml-lang="en-US" l10n="U" oldref="4">Time</paragraph>
+<paragraph role="heading" id="hd_id3150792" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3149656" xml-lang="en-US" l10n="U" oldref="6">
+<emph>Text:</emph> Any string expression that specifies the new time in the format "HH:MM:SS".</paragraph>
+<paragraph role="heading" id="hd_id3145173" xml-lang="en-US" level="2" l10n="U" oldref="7">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3156281" xml-lang="en-US" l10n="U" oldref="8">Sub ExampleTime</paragraph>
+<paragraph role="paragraph" id="par_id3150870" xml-lang="en-US" l10n="U" oldref="9">MsgBox Time,0,"The time is"</paragraph>
+<paragraph role="paragraph" id="par_id3154123" xml-lang="en-US" l10n="U" oldref="10">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03030303.xhp b/helpcontent2/source/text/sbasic/shared/03030303.xhp
new file mode 100644
index 0000000000..62f81a92dd
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03030303.xhp
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************-->
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03030303xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Timer Function [Runtime]</title>
+<filename>/text/sbasic/shared/03030303.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="timer">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3149346"><bookmark_value>Timer;function</bookmark_value></bookmark><paragraph id="hd_id3149346" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03030303.xhp" name="Timer Function [Runtime]">Timer Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3156023" l10n="U" xml-lang="en-US" oldref="2">Returns a value that specifies the number of seconds that have elapsed since midnight.</paragraph>
+ </section>
+ <paragraph role="note" id="par_id3156212" l10n="U" xml-lang="en-US" oldref="3">You must first declare a variable to call the Timer function and assign it the "Long " data type, otherwise a Date value is returned.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3153768" l10n="U" xml-lang="en-US" oldref="4">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3161831" l10n="U" xml-lang="en-US" oldref="5">Timer</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3146975" l10n="U" xml-lang="en-US" oldref="6">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3146984" l10n="U" xml-lang="en-US" oldref="7">Date</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3156442" l10n="U" xml-lang="en-US" oldref="8">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3153951" l10n="U" xml-lang="en-US" oldref="9">Sub ExampleTimer</paragraph>
+ <paragraph role="paragraph" id="par_id3147427" l10n="U" xml-lang="en-US" oldref="10">Dim lSec as long,lMin as long,lHour as long</paragraph>
+ <paragraph role="paragraph" id="par_id3153092" l10n="U" xml-lang="en-US" oldref="11">lSec = Timer</paragraph>
+ <paragraph role="paragraph" id="par_id3145748" l10n="U" xml-lang="en-US" oldref="12">MsgBox lSec,0,"Seconds since midnight"</paragraph>
+ <paragraph role="paragraph" id="par_id3149260" l10n="U" xml-lang="en-US" oldref="13">lMin = lSec / 60</paragraph>
+ <paragraph role="paragraph" id="par_id3148646" l10n="U" xml-lang="en-US" oldref="14">lSec = lSec Mod 60</paragraph>
+ <paragraph role="paragraph" id="par_id3148575" l10n="U" xml-lang="en-US" oldref="15">lHour = lMin / 60</paragraph>
+ <paragraph role="paragraph" id="par_id3150418" l10n="U" xml-lang="en-US" oldref="16">lMin = lMin Mod 60</paragraph>
+ <paragraph role="paragraph" id="par_id3156283" l10n="U" xml-lang="en-US" oldref="17">MsgBox Right("00" &amp; lHour , 2) &amp; ":"&amp; Right("00" &amp; lMin , 2) &amp; ":" &amp; Right("00" &amp; lSec , 2) ,0,"The time is"</paragraph>
+ <paragraph role="paragraph" id="par_id3153158" l10n="U" xml-lang="en-US" oldref="18">end sub</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03050000.xhp b/helpcontent2/source/text/sbasic/shared/03050000.xhp
new file mode 100755
index 0000000000..625ebf2082
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03050000.xhp
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03050000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Error-Handling Functions</title>
+<filename>/text/sbasic/shared/03050000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="fehlerbehan">
+ <paragraph id="hd_id3143271" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03050000.xhp" name="Error-Handling Functions">Error-Handling Functions</link></paragraph>
+ <paragraph role="paragraph" id="par_id3145068" l10n="U" xml-lang="en-US" oldref="2">Use the following statements and functions to define the way $[officename] Basic reacts to run-time errors.</paragraph>
+ </section>
+ <paragraph role="paragraph" id="par_id3148946" l10n="U" xml-lang="en-US" oldref="3">$[officename] Basic offers several methods to prevent the termination of a program when a run-time error occurs.</paragraph>
+ <embed href="text/sbasic/shared/03050100.xhp#erl"/>
+ <embed href="text/sbasic/shared/03050200.xhp#err"/>
+ <embed href="text/sbasic/shared/03050300.xhp#errorf"/>
+ <embed href="text/sbasic/shared/03050500.xhp#onerrorgotoresume"/>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03050100.xhp b/helpcontent2/source/text/sbasic/shared/03050100.xhp
new file mode 100644
index 0000000000..ad8f97728b
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03050100.xhp
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03050100xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Erl Function [Runtime]</title>
+<filename>/text/sbasic/shared/03050100.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-06-24T14:15:55">converted from old format - fpe
+dedr: fixed #i30425#</lastedited>
+</history>
+</meta>
+<body>
+<section id="erl">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3157896"><bookmark_value>Erl;function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3157896" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03050100.xhp" name="Erl Function [Runtime]">Erl Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3153394" xml-lang="en-US" l10n="U" oldref="2">Returns the line number where an error occurred during program execution.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3147574" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3146795" xml-lang="en-US" l10n="U" oldref="4">Erl</paragraph>
+<paragraph role="heading" id="hd_id3147265" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3154924" xml-lang="en-US" l10n="U" oldref="6">Integer</paragraph>
+<paragraph role="heading" id="hd_id3150792" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="note" id="par_id3153771" xml-lang="en-US" l10n="U" oldref="8">The Erl function only returns a line number, and not a line label.</paragraph>
+<paragraph role="heading" id="hd_id3146921" xml-lang="en-US" level="2" l10n="U" oldref="9">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3146975" xml-lang="en-US" l10n="U" oldref="10">sub ExampleError</paragraph>
+<paragraph role="paragraph" id="par_id3150010" xml-lang="en-US" l10n="U" oldref="11">on error goto ErrorHandler REM Set up error handler</paragraph>
+<paragraph role="paragraph" id="par_id3155308" xml-lang="en-US" l10n="U" oldref="12">Dim iVar as Integer</paragraph>
+<paragraph role="paragraph" id="par_id3149482" xml-lang="en-US" l10n="U" oldref="13">Dim sVar As String</paragraph>
+<paragraph role="paragraph" id="par_id3153188" xml-lang="en-US" l10n="U" oldref="14">REM Error caused by non-existent file</paragraph>
+<paragraph role="paragraph" id="par_id3159155" xml-lang="en-US" l10n="U" oldref="15">iVar = Freefile</paragraph>
+<paragraph role="paragraph" id="par_id3146120" xml-lang="en-US" l10n="U" oldref="16">Open "\file9879.txt" for Input as #iVar</paragraph>
+<paragraph role="paragraph" id="par_id3147349" xml-lang="en-US" l10n="U" oldref="17">Line Input #iVar, sVar</paragraph>
+<paragraph role="paragraph" id="par_id3151073" xml-lang="en-US" l10n="U" oldref="18">Close #iVar</paragraph>
+<paragraph role="paragraph" id="par_id3148456" xml-lang="en-US" l10n="U" oldref="19">exit sub</paragraph>
+<paragraph role="paragraph" id="par_id3147394" xml-lang="en-US" l10n="U" oldref="20">ErrorHandler:</paragraph>
+<paragraph role="paragraph" id="par_id3155416" xml-lang="en-US" l10n="U" oldref="21">MsgBox "Error " &amp; err &amp; ": " &amp; error$ + chr(13) + "In line : " + Erl + chr(13) + Now , 16 ,"An error occurred"</paragraph>
+<paragraph role="paragraph" id="par_id3153878" xml-lang="en-US" l10n="U" oldref="22">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03050200.xhp b/helpcontent2/source/text/sbasic/shared/03050200.xhp
new file mode 100755
index 0000000000..97b73b0532
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03050200.xhp
@@ -0,0 +1,96 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03050200xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Err Function [Runtime]</title>
+<filename>/text/sbasic/shared/03050200.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="err">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3156343"><bookmark_value>Err;function</bookmark_value></bookmark><paragraph id="hd_id3156343" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03050200.xhp" name="Err Function [Runtime]">Err Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3150541" l10n="U" xml-lang="en-US" oldref="2">Returns an error code that identifies the error that occurred during program execution.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3149656" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3154123" l10n="U" xml-lang="en-US" oldref="4">Err</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3147229" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3150869" l10n="U" xml-lang="en-US" oldref="6">Integer</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3153193" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph role="paragraph" id="par_id3149561" l10n="U" xml-lang="en-US" oldref="8">The Err function is used in error-handling routines to determine the error and the corrective action.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3147317" l10n="U" xml-lang="en-US" oldref="9">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3153727" l10n="U" xml-lang="en-US" oldref="10">sub ExampleError</paragraph>
+ <paragraph role="paragraph" id="par_id3147426" l10n="U" xml-lang="en-US" oldref="11">on error goto ErrorHandler REM Set up error handler</paragraph>
+ <paragraph role="paragraph" id="par_id3163710" l10n="U" xml-lang="en-US" oldref="12">Dim iVar as Integer</paragraph>
+ <paragraph role="paragraph" id="par_id3153093" l10n="U" xml-lang="en-US" oldref="13">Dim sVar As String</paragraph>
+ <paragraph role="paragraph" id="par_id3149481" l10n="U" xml-lang="en-US" oldref="14">REM Error occurs due to non-existent file</paragraph>
+ <paragraph role="paragraph" id="par_id3153190" l10n="U" xml-lang="en-US" oldref="15">iVar = Freefile</paragraph>
+ <paragraph role="paragraph" id="par_id3146120" l10n="U" xml-lang="en-US" oldref="16">Open &quot;\file9879.txt&quot; for Input as #iVar</paragraph>
+ <paragraph role="paragraph" id="par_id3155308" l10n="U" xml-lang="en-US" oldref="17">Line Input #iVar, sVar</paragraph>
+ <paragraph role="paragraph" id="par_id3153142" l10n="U" xml-lang="en-US" oldref="18">Close #iVar</paragraph>
+ <paragraph role="paragraph" id="par_id3149665" l10n="U" xml-lang="en-US" oldref="19">exit sub</paragraph>
+ <paragraph role="paragraph" id="par_id3154942" l10n="U" xml-lang="en-US" oldref="20">ErrorHandler:</paragraph>
+ <paragraph role="paragraph" id="par_id3145646" l10n="U" xml-lang="en-US" oldref="21">MsgBox &quot;Error &quot; &amp; Err &amp; &quot;: &quot; &amp; Error$ + chr(13) + &quot;At line : &quot; + Erl + chr(13) + Now , 16 ,&quot;an error occurred&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3155418" l10n="U" xml-lang="en-US" oldref="22">end sub</paragraph>
+
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03050300.xhp b/helpcontent2/source/text/sbasic/shared/03050300.xhp
new file mode 100755
index 0000000000..039e17dcfc
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03050300.xhp
@@ -0,0 +1,99 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03050300xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Error Function [Runtime]</title>
+<filename>/text/sbasic/shared/03050300.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="errorf">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3159413"><bookmark_value>Error function;function</bookmark_value></bookmark><paragraph id="hd_id3159413" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03050300.xhp" name="Error Function [Runtime]">Error Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3148663" l10n="U" xml-lang="en-US" oldref="2">Returns the error message that corresponds to a given error code.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3153379" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3154366" l10n="U" xml-lang="en-US" oldref="4">Error (Expression)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3145173" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3154125" l10n="U" xml-lang="en-US" oldref="6">String</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3150869" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3153193" xml-lang="en-US" oldref="8"><emph>Expression:</emph> Any numeric expression that contains the error code of the error message that you want to return.</paragraph>
+ <paragraph role="paragraph" id="par_id3159254" l10n="U" xml-lang="en-US" oldref="9">If no parameters are passed, the Error function returns the error message of the most recent error that occurred during program execution.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err51"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err13"/>
+ <paragraph role="heading" level="2" id="hd_id3151116" l10n="U" xml-lang="en-US" oldref="10">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3163712" l10n="U" xml-lang="en-US" oldref="11">sub ExampleError</paragraph>
+ <paragraph role="paragraph" id="par_id3149481" l10n="U" xml-lang="en-US" oldref="12">on error goto ErrorHandler REM Set up error handler</paragraph>
+ <paragraph role="paragraph" id="par_id3152598" l10n="U" xml-lang="en-US" oldref="13">Dim iVar as Integer</paragraph>
+ <paragraph role="paragraph" id="par_id3146975" l10n="U" xml-lang="en-US" oldref="14">Dim sVar As String</paragraph>
+ <paragraph role="paragraph" id="par_id3149665" l10n="U" xml-lang="en-US" oldref="15">REM An error occurs due to non-existent file</paragraph>
+ <paragraph role="paragraph" id="par_id3153092" l10n="U" xml-lang="en-US" oldref="16">iVar = Freefile</paragraph>
+ <paragraph role="paragraph" id="par_id3153142" l10n="U" xml-lang="en-US" oldref="17">Open &quot;\file9879.txt&quot; for Input as #iVar</paragraph>
+ <paragraph role="paragraph" id="par_id3147126" l10n="U" xml-lang="en-US" oldref="18">Line Input #iVar, sVar</paragraph>
+ <paragraph role="paragraph" id="par_id3145646" l10n="U" xml-lang="en-US" oldref="19">Close #iVar</paragraph>
+ <paragraph role="paragraph" id="par_id3149410" l10n="U" xml-lang="en-US" oldref="20">exit sub</paragraph>
+ <paragraph role="paragraph" id="par_id3145252" l10n="U" xml-lang="en-US" oldref="21">ErrorHandler:</paragraph>
+ <paragraph role="paragraph" id="par_id3156284" l10n="U" xml-lang="en-US" oldref="22">MsgBox &quot;Error &quot; &amp; err &amp; &quot;: &quot; &amp; error$ + chr(13) + &quot;In line : &quot; + Erl + chr(13) + Now , 16 ,&quot;error occurred&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3144766" l10n="U" xml-lang="en-US" oldref="23">end sub</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03050500.xhp b/helpcontent2/source/text/sbasic/shared/03050500.xhp
new file mode 100755
index 0000000000..65cac7d95b
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03050500.xhp
@@ -0,0 +1,109 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03050500xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">On Error GoTo ... Resume Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03050500.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="onerrorgotoresume">
+ <bookmark branch="index" xml-lang="en-US" id="bm_id3146795"><bookmark_value>function;Resume Next</bookmark_value><bookmark_value>Resume Next;function</bookmark_value><bookmark_value>On Error GoTo ... Resume;function</bookmark_value></bookmark><paragraph id="hd_id3146795" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03050500.xhp" name="On Error GoTo ... Resume Statement [Runtime]">On Error GoTo ... Resume Statement [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3150358" l10n="U" xml-lang="en-US" oldref="2">Enables an error-handling routine after an error occurs, or resumes program execution.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3151212" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3145173" l10n="U" xml-lang="en-US" oldref="4">On {Error GoTo Labelname | GoTo 0 | Resume Next}</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3154125" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150869" xml-lang="en-US" oldref="7"><emph>GoTo Labelname:</emph> If an error occurs, enables the error-handling routine that starts at the line &quot;Labelname&quot;.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150439" xml-lang="en-US" oldref="8"><emph>Resume Next:</emph> If an error occurs, program execution continues with the statement that follows the statement in which the error occurred.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3149482" xml-lang="en-US" oldref="9"><emph>GoTo 0: </emph>Disables the error handler in the current procedure.</paragraph>
+ <paragraph role="paragraph" id="par_id3148619" l10n="U" xml-lang="en-US" oldref="10">The On Error GoTo statement is used to react to errors that occur in a macro. The statement must be inserted at the start of a procedure (in a local error-handling routine) or at the start of a module.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3146985" l10n="U" xml-lang="en-US" oldref="11">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3152460" l10n="U" xml-lang="en-US" oldref="42">Sub ExampleReset</paragraph>
+ <paragraph role="paragraph" id="par_id3163712" l10n="U" xml-lang="en-US" oldref="43">On Error Goto ErrorHandler</paragraph>
+ <paragraph role="paragraph" id="par_id3146119" l10n="U" xml-lang="en-US" oldref="44">Dim iNumber As Integer</paragraph>
+ <paragraph role="paragraph" id="par_id3145749" l10n="U" xml-lang="en-US" oldref="45">Dim iCount As Integer</paragraph>
+ <paragraph role="paragraph" id="par_id3153091" l10n="U" xml-lang="en-US" oldref="46">Dim sLine As String</paragraph>
+ <paragraph role="paragraph" id="par_id3148576" l10n="U" xml-lang="en-US" oldref="47">Dim aFile As String</paragraph>
+ <paragraph role="paragraph" id="par_id3147348" l10n="U" xml-lang="en-US" oldref="48">aFile = &quot;c:\data.txt&quot;</paragraph>
+
+ <paragraph role="paragraph" id="par_id3154944" l10n="U" xml-lang="en-US" oldref="50">iNumber = Freefile</paragraph>
+ <paragraph role="paragraph" id="par_id3153158" l10n="U" xml-lang="en-US" oldref="51">Open aFile For Output As #iNumber</paragraph>
+ <paragraph role="paragraph" id="par_id3153876" l10n="U" xml-lang="en-US" oldref="52">Print #iNumber, &quot;This is a line of text&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3149581" l10n="U" xml-lang="en-US" oldref="53">Close #iNumber</paragraph>
+
+ <paragraph role="paragraph" id="par_id3155602" l10n="U" xml-lang="en-US" oldref="55">iNumber = Freefile</paragraph>
+ <paragraph role="paragraph" id="par_id3153415" l10n="U" xml-lang="en-US" oldref="56">Open aFile For Input As iNumber</paragraph>
+ <paragraph role="paragraph" id="par_id3146970" l10n="U" xml-lang="en-US" oldref="57">For iCount = 1 to 5</paragraph>
+ <paragraph role="paragraph" id="par_id3153707" l10n="U" xml-lang="en-US" oldref="58">Line Input #iNumber, sLine</paragraph>
+ <paragraph role="paragraph" id="par_id3156276" l10n="U" xml-lang="en-US" oldref="59">If sLine &lt;&gt;&quot;&quot; then</paragraph>
+ <paragraph role="paragraph" id="par_id3148993" l10n="U" xml-lang="en-US" oldref="60">rem</paragraph>
+ <paragraph role="paragraph" id="par_id3153764" l10n="U" xml-lang="en-US" oldref="61">end if</paragraph>
+ <paragraph role="paragraph" id="par_id3154754" l10n="U" xml-lang="en-US" oldref="62">Next iCount</paragraph>
+ <paragraph role="paragraph" id="par_id3159264" l10n="U" xml-lang="en-US" oldref="63">Close #iNumber</paragraph>
+ <paragraph role="paragraph" id="par_id3150042" l10n="U" xml-lang="en-US" oldref="64">Exit Sub</paragraph>
+ <paragraph role="paragraph" id="par_id3151251" l10n="U" xml-lang="en-US" oldref="65">ErrorHandler:</paragraph>
+ <paragraph role="paragraph" id="par_id3149106" l10n="U" xml-lang="en-US" oldref="66">Reset</paragraph>
+ <paragraph role="paragraph" id="par_id3146916" l10n="U" xml-lang="en-US" oldref="67">MsgBox &quot;All files will be closed&quot;,0,&quot;Error&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3149568" l10n="U" xml-lang="en-US" oldref="68">End Sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03060000.xhp b/helpcontent2/source/text/sbasic/shared/03060000.xhp
new file mode 100755
index 0000000000..c0585fac20
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03060000.xhp
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03060000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Logical Operators</title>
+<filename>/text/sbasic/shared/03060000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="logi">
+ <paragraph id="hd_id3147559" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03060000.xhp" name="Logical Operators">Logical Operators</link></paragraph>
+ <paragraph role="paragraph" id="par_id3153379" l10n="U" xml-lang="en-US" oldref="2">The following logical operators are supported by $[officename] Basic.</paragraph>
+ </section>
+ <paragraph role="paragraph" id="par_id3154138" l10n="U" xml-lang="en-US" oldref="3">Logical operators combine (bitwise) the contents of two expressions or variables, for example, to test if specific bits are set or not.</paragraph>
+ <embed href="text/sbasic/shared/03060100.xhp#and"/>
+ <embed href="text/sbasic/shared/03060200.xhp#eqv"/>
+ <embed href="text/sbasic/shared/03060300.xhp#imp"/>
+ <embed href="text/sbasic/shared/03060400.xhp#not"/>
+ <embed href="text/sbasic/shared/03060500.xhp#or"/>
+ <embed href="text/sbasic/shared/03060600.xhp#xor"/>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03060100.xhp b/helpcontent2/source/text/sbasic/shared/03060100.xhp
new file mode 100755
index 0000000000..4379619842
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03060100.xhp
@@ -0,0 +1,93 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03060100xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">AND Operator [Runtime]</title>
+<filename>/text/sbasic/shared/03060100.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="and">
+ <bookmark branch="index" xml-lang="en-US" id="bm_id3146117"><bookmark_value>And;logical operators</bookmark_value><bookmark_value>AND</bookmark_value></bookmark><paragraph id="hd_id3146117" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03060100.xhp" name="AND Operator [Runtime]">AND Operator [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3143268" l10n="U" xml-lang="en-US" oldref="2">Logically combines two expressions.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3147574" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3156344" l10n="U" xml-lang="en-US" oldref="4">Result = Expression1 And Expression2</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3148946" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3149457" xml-lang="en-US" oldref="6"><emph>Result:</emph> Any numeric variable that records the result of the combination.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150541" xml-lang="en-US" oldref="7"><emph>Expression1, Expression2:</emph> Any expressions that you want to combine.</paragraph>
+ <paragraph xml-lang="en-US" oldref="8" role="paragraph" id="par_id3156215" l10n="U">Boolean expressions combined with AND only return the value <emph>True</emph> if both expressions evaluate to <emph>True</emph>:</paragraph>
+ <paragraph l10n="U" xml-lang="en-US" oldref="9" role="paragraph" id="par_id3150870"><emph>True</emph> AND <emph>True</emph> returns <emph>True</emph>; for all other combinations the result is <emph>False</emph>.</paragraph>
+ <paragraph role="paragraph" id="par_id3153768" l10n="U" xml-lang="en-US" oldref="10">The AND operator also performs a bitwise comparison of identically positioned bits in two numeric expressions.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3153727" l10n="U" xml-lang="en-US" oldref="11">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3149481" l10n="U" xml-lang="en-US" oldref="12">Sub ExampleAnd</paragraph>
+ <paragraph role="paragraph" id="par_id3152577" l10n="U" xml-lang="en-US" oldref="13">Dim vA as Variant, vB as Variant, vC as Variant, vD as Variant</paragraph>
+ <paragraph role="paragraph" id="par_id3152598" l10n="U" xml-lang="en-US" oldref="14">Dim vVarOut as Variant</paragraph>
+ <paragraph role="paragraph" id="par_id3153092" l10n="U" xml-lang="en-US" oldref="15">A = 10: B = 8: C = 6: D = Null</paragraph>
+ <paragraph role="paragraph" id="par_id3146984" l10n="U" xml-lang="en-US" oldref="16">vVarOut = A &gt; B And B &gt; C REM returns -1</paragraph>
+ <paragraph role="paragraph" id="par_id3154014" l10n="U" xml-lang="en-US" oldref="17">vVarOut = B &gt; A And B &gt; C REM returns 0</paragraph>
+ <paragraph role="paragraph" id="par_id3149262" l10n="U" xml-lang="en-US" oldref="18">vVarOut = A &gt; B And B &gt; D REM returns -1</paragraph>
+ <paragraph role="paragraph" id="par_id3145751" l10n="U" xml-lang="en-US" oldref="19">vVarOut = (B &gt; D And B &gt; A) REM returns 0</paragraph>
+ <paragraph role="paragraph" id="par_id3147394" l10n="U" xml-lang="en-US" oldref="20">vVarOut = B And A REM returns 8 due to the bitwise AND combination of both arguments</paragraph>
+ <paragraph role="paragraph" id="par_id3151073" l10n="U" xml-lang="en-US" oldref="21">End Sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03060200.xhp b/helpcontent2/source/text/sbasic/shared/03060200.xhp
new file mode 100755
index 0000000000..1b130da232
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03060200.xhp
@@ -0,0 +1,93 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03060200xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Eqv-Operator [Runtime]</title>
+<filename>/text/sbasic/shared/03060200.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="eqv">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3156344"><bookmark_value>Eqv;logical operators</bookmark_value></bookmark><paragraph id="hd_id3156344" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03060200.xhp" name="Eqv-Operator [Runtime]">Eqv-Operator [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3149656" l10n="U" xml-lang="en-US" oldref="2">Calculates the logical equivalence of two expressions.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3154367" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3154910" l10n="U" xml-lang="en-US" oldref="4">Result = Expression1 Eqv Expression2</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3151043" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150869" xml-lang="en-US" oldref="6"><emph>Result:</emph> Any numeric variable that contains the result of the comparison.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150448" xml-lang="en-US" oldref="7"><emph>Expression1, expression2:</emph> Any expressions that you want to compare.</paragraph>
+ <paragraph xml-lang="en-US" oldref="8" l10n="U" role="paragraph" id="par_id3149562">When testing for equivalence between Boolean expressions, the result is <emph>True</emph> if both expressions are either <emph>True</emph> or <emph>False</emph>.</paragraph>
+ <paragraph role="paragraph" id="par_id3154319" l10n="U" xml-lang="en-US" oldref="9">In a bit-wise comparison, the Eqv operator only sets the corresponding bit in the result if a bit is set in both expressions, or in neither expression.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3159154" l10n="U" xml-lang="en-US" oldref="10">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3147426" l10n="U" xml-lang="en-US" oldref="11">Sub ExampleEqv</paragraph>
+ <paragraph role="paragraph" id="par_id3155308" l10n="U" xml-lang="en-US" oldref="12">Dim vA as Variant, vB as Variant, vC as Variant, vD as Variant</paragraph>
+ <paragraph role="paragraph" id="par_id3146986" l10n="U" xml-lang="en-US" oldref="13">Dim vOut as Variant</paragraph>
+ <paragraph role="paragraph" id="par_id3147434" l10n="U" xml-lang="en-US" oldref="14">vA = 10: vB = 8: vC = 6: vD = Null</paragraph>
+ <paragraph role="paragraph" id="par_id3152462" l10n="U" xml-lang="en-US" oldref="15">vOut = A &gt; B Eqv B &gt; C REM returns -1</paragraph>
+ <paragraph role="paragraph" id="par_id3153191" l10n="U" xml-lang="en-US" oldref="16">vOut = B &gt; A Eqv B &gt; C REM returns -1</paragraph>
+ <paragraph role="paragraph" id="par_id3145799" l10n="U" xml-lang="en-US" oldref="17">vOut = A &gt; B Eqv B &gt; D REM returns -1</paragraph>
+ <paragraph role="paragraph" id="par_id3149412" l10n="U" xml-lang="en-US" oldref="18">vOut = (B &gt; D Eqv B &gt; A) REM returns 0</paragraph>
+ <paragraph role="paragraph" id="par_id3149959" l10n="U" xml-lang="en-US" oldref="19">vOut = B Eqv A REM returns -1</paragraph>
+ <paragraph role="paragraph" id="par_id3145646" l10n="U" xml-lang="en-US" oldref="20">End Sub</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03060300.xhp b/helpcontent2/source/text/sbasic/shared/03060300.xhp
new file mode 100755
index 0000000000..6bf441bbeb
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03060300.xhp
@@ -0,0 +1,93 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03060300xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Imp-Operator [Runtime]</title>
+<filename>/text/sbasic/shared/03060300.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="imp">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3156024"><bookmark_value>Imp;logical operators</bookmark_value></bookmark><paragraph id="hd_id3156024" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03060300.xhp" name="Imp-Operator [Runtime]">Imp-Operator [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3148947" l10n="U" xml-lang="en-US" oldref="2">Performs a logical implication on two expressions.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3148664" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3149656" l10n="U" xml-lang="en-US" oldref="4">Result = Expression1 Imp Expression2</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3151212" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3154910" xml-lang="en-US" oldref="6"><emph>Result:</emph> Any numeric variable that contains the result of the implication.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3156281" xml-lang="en-US" oldref="7"><emph>Expression1, Expression2:</emph> Any expressions that you want to evaluate with the Imp operator.</paragraph>
+ <paragraph role="paragraph" id="par_id3150440" l10n="U" xml-lang="en-US" oldref="8">If you use the Imp operator in Boolean expressions, False is only returned if the first expression evaluates to True and the second expression to False.</paragraph>
+ <paragraph role="paragraph" id="par_id3163710" l10n="U" xml-lang="en-US" oldref="9">If you use the Imp operator in bit expressions, a bit is deleted from the result if the corresponding bit is set in the first expression and the corresponding bit is deleted in the second expression.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3147318" l10n="U" xml-lang="en-US" oldref="10">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3155854" l10n="U" xml-lang="en-US" oldref="11">Sub ExampleImp</paragraph>
+ <paragraph role="paragraph" id="par_id3145272" l10n="U" xml-lang="en-US" oldref="12">Dim vA as Variant, vB as Variant, vC as Variant, vD as Variant</paragraph>
+ <paragraph role="paragraph" id="par_id3159156" l10n="U" xml-lang="en-US" oldref="13">Dim vOut as Variant</paragraph>
+ <paragraph role="paragraph" id="par_id3151116" l10n="U" xml-lang="en-US" oldref="14">A = 10: B = 8: C = 6: D = Null</paragraph>
+ <paragraph role="paragraph" id="par_id3145750" l10n="U" xml-lang="en-US" oldref="15">vOut = A &gt; B Imp B &gt; C REM returns -1</paragraph>
+ <paragraph role="paragraph" id="par_id3156441" l10n="U" xml-lang="en-US" oldref="16">vOut = B &gt; A Imp B &gt; C REM returns 0</paragraph>
+ <paragraph role="paragraph" id="par_id3152596" l10n="U" xml-lang="en-US" oldref="17">vOut = A &gt; B Imp B &gt; D REM returns -1</paragraph>
+ <paragraph role="paragraph" id="par_id3154942" l10n="U" xml-lang="en-US" oldref="18">vOut = (B &gt; D Imp B &gt; A) REM returns 0</paragraph>
+ <paragraph role="paragraph" id="par_id3154492" l10n="U" xml-lang="en-US" oldref="19">vOut = B Imp A REM returns -3</paragraph>
+ <paragraph role="paragraph" id="par_id3147394" l10n="U" xml-lang="en-US" oldref="20">End Sub</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03060400.xhp b/helpcontent2/source/text/sbasic/shared/03060400.xhp
new file mode 100755
index 0000000000..5a266fc7ef
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03060400.xhp
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03060400xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Not-Operator [Runtime]</title>
+<filename>/text/sbasic/shared/03060400.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="not">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3156024"><bookmark_value>Not;logical operators</bookmark_value></bookmark><paragraph id="hd_id3156024" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03060400.xhp" name="Not-Operator [Runtime]">Not-Operator [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3159414" l10n="U" xml-lang="en-US" oldref="2">Negates an expression by inverting the bit values.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3149457" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3150360" l10n="U" xml-lang="en-US" oldref="4">Result = Not Expression</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3151211" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3147228" xml-lang="en-US" oldref="6"><emph>Result:</emph> Any numeric variable that contains the result of the negation.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3154124" xml-lang="en-US" oldref="7"><emph>Not Expression:</emph> Any expression that you want to negate.</paragraph>
+ <paragraph role="paragraph" id="par_id3150868" l10n="U" xml-lang="en-US" oldref="8">When a Boolean expression is negated, the value True changes to False, and the value False changes to True.</paragraph>
+ <paragraph role="paragraph" id="par_id3145785" l10n="U" xml-lang="en-US" oldref="9">In a bitwise negation each individual bit is inverted.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3153093" l10n="U" xml-lang="en-US" oldref="10">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3153143" l10n="U" xml-lang="en-US" oldref="11">Sub ExampleNot</paragraph>
+ <paragraph role="paragraph" id="par_id3147317" l10n="U" xml-lang="en-US" oldref="12">Dim vA as Variant, vB as Variant, vC as Variant, vD as Variant</paragraph>
+ <paragraph role="paragraph" id="par_id3145274" l10n="U" xml-lang="en-US" oldref="13">Dim vOut as Variant</paragraph>
+ <paragraph role="paragraph" id="par_id3153363" l10n="U" xml-lang="en-US" oldref="14">vA = 10: vB = 8: vC = 6: vD = Null</paragraph>
+ <paragraph role="paragraph" id="par_id3145749" l10n="U" xml-lang="en-US" oldref="15">vOut = Not vA REM Returns -11</paragraph>
+ <paragraph role="paragraph" id="par_id3148645" l10n="U" xml-lang="en-US" oldref="16">vOut = Not(vC &gt; vD) REM Returns 0</paragraph>
+ <paragraph role="paragraph" id="par_id3156441" l10n="U" xml-lang="en-US" oldref="17">vOut = Not(vB &gt; vA) REM Returns -1</paragraph>
+ <paragraph role="paragraph" id="par_id3152596" l10n="U" xml-lang="en-US" oldref="18">vOut = Not(vA &gt; vB) REM Returns 0</paragraph>
+ <paragraph role="paragraph" id="par_id3154319" l10n="U" xml-lang="en-US" oldref="19">end Sub</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03060500.xhp b/helpcontent2/source/text/sbasic/shared/03060500.xhp
new file mode 100755
index 0000000000..792247693f
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03060500.xhp
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03060500xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Or-Operator [Runtime]</title>
+<filename>/text/sbasic/shared/03060500.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="or">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3150986"><bookmark_value>Or;logical operators</bookmark_value></bookmark><paragraph id="hd_id3150986" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03060500.xhp" name="Or-Operator [Runtime]">Or-Operator [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3148552" l10n="U" xml-lang="en-US" oldref="2">Performs a logical OR disjunction on two expressions.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3148664" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3150358" l10n="U" xml-lang="en-US" oldref="4">Result = Expression1 Or Expression2</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3151211" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3153192" xml-lang="en-US" oldref="6"><emph>Result:</emph> Any numeric variable that contains the result of the disjunction.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3147229" xml-lang="en-US" oldref="7"><emph>Expression1, Expression2:</emph> Any numeric expressions that you want to compare.</paragraph>
+ <paragraph role="paragraph" id="par_id3154684" l10n="U" xml-lang="en-US" oldref="8">A logical OR disjunction of two Boolean expressions returns the value True if at least one comparison expression is True.</paragraph>
+ <paragraph role="paragraph" id="par_id3153768" l10n="U" xml-lang="en-US" oldref="9">A bit-wise comparison sets a bit in the result if the corresponding bit is set in at least one of the two expressions.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3161831" l10n="U" xml-lang="en-US" oldref="10">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3147427" l10n="U" xml-lang="en-US" oldref="11">Sub ExampleOr</paragraph>
+ <paragraph role="paragraph" id="par_id3153142" l10n="U" xml-lang="en-US" oldref="12">Dim vA as Variant, vB as Variant, vC as Variant, vD as Variant</paragraph>
+ <paragraph role="paragraph" id="par_id3154014" l10n="U" xml-lang="en-US" oldref="13">Dim vOut as Variant</paragraph>
+ <paragraph role="paragraph" id="par_id3155856" l10n="U" xml-lang="en-US" oldref="14">vA = 10: vB = 8: vC = 6: vD = Null</paragraph>
+ <paragraph role="paragraph" id="par_id3152460" l10n="U" xml-lang="en-US" oldref="15">vOut = vA &gt; vB Or vB &gt; vC REM -1</paragraph>
+ <paragraph role="paragraph" id="par_id3147349" l10n="U" xml-lang="en-US" oldref="16">vOut = vB &gt; vA Or vB &gt; vC REM -1</paragraph>
+ <paragraph role="paragraph" id="par_id3151114" l10n="U" xml-lang="en-US" oldref="17">vOut = vA &gt; vB Or vB &gt; vD REM -1</paragraph>
+ <paragraph role="paragraph" id="par_id3153726" l10n="U" xml-lang="en-US" oldref="18">vOut = (vB &gt; vD Or vB &gt; vA) REM -1</paragraph>
+ <paragraph role="paragraph" id="par_id3152598" l10n="U" xml-lang="en-US" oldref="19">vOut = vB Or vA REM 10</paragraph>
+ <paragraph role="paragraph" id="par_id3150420" l10n="U" xml-lang="en-US" oldref="20">End Sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03060600.xhp b/helpcontent2/source/text/sbasic/shared/03060600.xhp
new file mode 100755
index 0000000000..dfff05c8ca
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03060600.xhp
@@ -0,0 +1,93 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03060600xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Xor-Operator [Runtime]</title>
+<filename>/text/sbasic/shared/03060600.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="xor">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3156024"><bookmark_value>Xor;logical operators</bookmark_value></bookmark><paragraph id="hd_id3156024" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03060600.xhp" name="Xor-Operator [Runtime]">Xor-Operator [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3159414" l10n="U" xml-lang="en-US" oldref="2">Performs a logical Exclusive-Or combination of two expressions.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3153381" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3150400" l10n="U" xml-lang="en-US" oldref="4">Result = Expression1 Xor Expression2</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3153968" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150448" xml-lang="en-US" oldref="6"><emph>Result:</emph> Any numeric variable that contains the result of the combination.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3125864" xml-lang="en-US" oldref="7"><emph>Expression1, Expression2:</emph> Any numeric expressions that you want to combine.</paragraph>
+ <paragraph role="paragraph" id="par_id3150439" l10n="U" xml-lang="en-US" oldref="8">A logical Exclusive-Or conjunction of two Boolean expressions returns the value True only if both expressions are different from each other.</paragraph>
+ <paragraph role="paragraph" id="par_id3153770" l10n="U" xml-lang="en-US" oldref="9">A bitwise Exclusive-Or conjunction returns a bit if the corresponding bit is set in only one of the two expressions.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3153366" l10n="U" xml-lang="en-US" oldref="10">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3159154" l10n="U" xml-lang="en-US" oldref="11">Sub ExampleXor</paragraph>
+ <paragraph role="paragraph" id="par_id3163710" l10n="U" xml-lang="en-US" oldref="12">Dim vA as Variant, vB as Variant, vC as Variant, vD as Variant</paragraph>
+ <paragraph role="paragraph" id="par_id3155856" l10n="U" xml-lang="en-US" oldref="13">Dim vOut as Variant</paragraph>
+ <paragraph role="paragraph" id="par_id3152462" l10n="U" xml-lang="en-US" oldref="14">vA = 10: vB = 8: vC = 6: vD = Null</paragraph>
+ <paragraph role="paragraph" id="par_id3156442" l10n="U" xml-lang="en-US" oldref="15">vOut = vA &gt; vB Xor vB &gt; vC REM returns 0</paragraph>
+ <paragraph role="paragraph" id="par_id3153191" l10n="U" xml-lang="en-US" oldref="16">vOut = vB &gt; vA Xor vB &gt; vC REM returns -1</paragraph>
+ <paragraph role="paragraph" id="par_id3153144" l10n="U" xml-lang="en-US" oldref="17">vOut = vA &gt; vB Xor vB &gt; vD REM returns 0</paragraph>
+ <paragraph role="paragraph" id="par_id3154944" l10n="U" xml-lang="en-US" oldref="18">vOut = (vB &gt; vD Xor vB &gt; vA) REM returns -1</paragraph>
+ <paragraph role="paragraph" id="par_id3148455" l10n="U" xml-lang="en-US" oldref="19">vOut = vB Xor vA REM returns 2</paragraph>
+ <paragraph role="paragraph" id="par_id3156283" l10n="U" xml-lang="en-US" oldref="20">End Sub</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03070000.xhp b/helpcontent2/source/text/sbasic/shared/03070000.xhp
new file mode 100755
index 0000000000..1bf15cbfd7
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03070000.xhp
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03070000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Mathematical Operators</title>
+<filename>/text/sbasic/shared/03070000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="mathe">
+ <paragraph id="hd_id3149234" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03070000.xhp" name="Mathematical Operators">Mathematical Operators</link></paragraph>
+ <paragraph role="paragraph" id="par_id3145068" l10n="U" xml-lang="en-US" oldref="2">The following mathematical operators are supported in $[officename] Basic.</paragraph>
+ </section>
+ <paragraph role="paragraph" id="par_id3148552" l10n="U" xml-lang="en-US" oldref="3">This chapter provides a short overview of all of the arithmetical operators that you may need for calculations within a program.</paragraph>
+ <embed href="text/sbasic/shared/03070100.xhp#subtraktion"/>
+ <embed href="text/sbasic/shared/03070200.xhp#multiplikation"/>
+ <embed href="text/sbasic/shared/03070300.xhp#addition"/>
+ <embed href="text/sbasic/shared/03070400.xhp#division"/>
+ <embed href="text/sbasic/shared/03070500.xhp#potenz"/>
+ <embed href="text/sbasic/shared/03070600.xhp#mod"/>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03070100.xhp b/helpcontent2/source/text/sbasic/shared/03070100.xhp
new file mode 100755
index 0000000000..c46e863d6e
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03070100.xhp
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03070100xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">&quot;-&quot; Operator [Runtime]</title>
+<filename>/text/sbasic/shared/03070100.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="subtraktion">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3156042"><bookmark_value>&quot;-&quot; operator;mathematical operators</bookmark_value></bookmark><paragraph id="hd_id3156042" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03070100.xhp" name="&quot;-&quot; Operator [Runtime]">&quot;-&quot; Operator [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3153345" l10n="U" xml-lang="en-US" oldref="2">Subtracts two values.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3149416" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3156023" l10n="U" xml-lang="en-US" oldref="4">Result = Expression1 - Expression2</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3154760" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3147560" xml-lang="en-US" oldref="6"><emph>Result:</emph> Any numerical expression that contains the result of the subtraction.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150398" xml-lang="en-US" oldref="7"><emph>Expression1, Expression2:</emph> Any numerical expressions that you want to subtract.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3154366" l10n="U" xml-lang="en-US" oldref="8">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3147230" l10n="U" xml-lang="en-US" oldref="9">Sub ExampleSubtraction1</paragraph>
+ <paragraph role="paragraph" id="par_id3156281" l10n="U" xml-lang="en-US" oldref="10">Print 5 - 5</paragraph>
+ <paragraph role="paragraph" id="par_id3145172" l10n="U" xml-lang="en-US" oldref="11">End sub</paragraph>
+
+ <paragraph role="paragraph" id="par_id3149562" l10n="U" xml-lang="en-US" oldref="13">Sub ExampleSubtraction2</paragraph>
+ <paragraph role="paragraph" id="par_id3159254" l10n="U" xml-lang="en-US" oldref="14">Dim iValue1 as Integer</paragraph>
+ <paragraph role="paragraph" id="par_id3147434" l10n="U" xml-lang="en-US" oldref="15">Dim iValue2 as Integer</paragraph>
+ <paragraph role="paragraph" id="par_id3150011" l10n="U" xml-lang="en-US" oldref="16">iValue1 = 5</paragraph>
+ <paragraph role="paragraph" id="par_id3152576" l10n="U" xml-lang="en-US" oldref="17">iValue2 = 10</paragraph>
+ <paragraph role="paragraph" id="par_id3163712" l10n="U" xml-lang="en-US" oldref="18">Print iValue1 - iValue2</paragraph>
+ <paragraph role="paragraph" id="par_id3156443" l10n="U" xml-lang="en-US" oldref="19">End Sub</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03070200.xhp b/helpcontent2/source/text/sbasic/shared/03070200.xhp
new file mode 100755
index 0000000000..2bc7c8ac7d
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03070200.xhp
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03070200xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">&quot;*&quot; Operator [Runtime]</title>
+<filename>/text/sbasic/shared/03070200.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="multiplikation">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3147573"><bookmark_value>&quot;*&quot; operator;mathematical operators</bookmark_value></bookmark><paragraph id="hd_id3147573" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03070200.xhp" name="&quot;*&quot; Operator [Runtime]">&quot;*&quot; Operator [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3154347" l10n="U" xml-lang="en-US" oldref="2">Multiplies two values.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3148946" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3150358" l10n="U" xml-lang="en-US" oldref="4">Result = Expression1 * Expression2</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3150400" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3154365" xml-lang="en-US" oldref="6"><emph>Result:</emph> Any numeric expression that records the result of a multiplication.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3154685" xml-lang="en-US" oldref="7"><emph>Expression1, Expression2:</emph> Any numeric expressions that you want to multiply.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3153968" l10n="U" xml-lang="en-US" oldref="8">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3155132" l10n="U" xml-lang="en-US" oldref="9">Sub ExampleMultiplication1</paragraph>
+ <paragraph role="paragraph" id="par_id3159254" l10n="U" xml-lang="en-US" oldref="10">Print 5 * 5</paragraph>
+ <paragraph role="paragraph" id="par_id3153091" l10n="U" xml-lang="en-US" oldref="11">End sub</paragraph>
+
+ <paragraph role="paragraph" id="par_id3149667" l10n="U" xml-lang="en-US" oldref="13">Sub ExampleMultiplication2</paragraph>
+ <paragraph role="paragraph" id="par_id3151113" l10n="U" xml-lang="en-US" oldref="14">Dim iValue1 as Integer</paragraph>
+ <paragraph role="paragraph" id="par_id3147434" l10n="U" xml-lang="en-US" oldref="15">Dim iValue2 as Integer</paragraph>
+ <paragraph role="paragraph" id="par_id3153727" l10n="U" xml-lang="en-US" oldref="16">iValue1 = 5</paragraph>
+ <paragraph role="paragraph" id="par_id3147348" l10n="U" xml-lang="en-US" oldref="17">iValue2 = 10</paragraph>
+ <paragraph role="paragraph" id="par_id3149261" l10n="U" xml-lang="en-US" oldref="18">Print iValue1 * iValue2</paragraph>
+ <paragraph role="paragraph" id="par_id3148646" l10n="U" xml-lang="en-US" oldref="19">End Sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03070300.xhp b/helpcontent2/source/text/sbasic/shared/03070300.xhp
new file mode 100755
index 0000000000..fd46ae836e
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03070300.xhp
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03070300xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">&quot;+&quot; Operator [Runtime]</title>
+<filename>/text/sbasic/shared/03070300.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="addition">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3145316"><bookmark_value>&quot;+&quot; operator;mathematical operators</bookmark_value></bookmark><paragraph id="hd_id3145316" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03070300.xhp" name="&quot;+&quot; Operator [Runtime]">&quot;+&quot; Operator [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3145068" l10n="U" xml-lang="en-US" oldref="2">Adds or combines two expressions.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3144500" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3150358" l10n="U" xml-lang="en-US" oldref="4">Result = Expression1 + Expression2</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3150400" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3154123" xml-lang="en-US" oldref="6"><emph>Result:</emph> Any numerical expression that contains the result of the addition.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150870" xml-lang="en-US" oldref="7"><emph>Expression1, Expression2:</emph> Any numerical expressions that you want to combine or to add.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3153969" l10n="U" xml-lang="en-US" oldref="8">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3150440" l10n="U" xml-lang="en-US" oldref="9">Sub ExampleAddition1</paragraph>
+ <paragraph role="paragraph" id="par_id3159254" l10n="U" xml-lang="en-US" oldref="10">Print 5 + 5</paragraph>
+ <paragraph role="paragraph" id="par_id3152460" l10n="U" xml-lang="en-US" oldref="11">End sub</paragraph>
+
+ <paragraph role="paragraph" id="par_id3153191" l10n="U" xml-lang="en-US" oldref="13">Sub ExampleAddition2</paragraph>
+ <paragraph role="paragraph" id="par_id3146120" l10n="U" xml-lang="en-US" oldref="14">Dim iValue1 as Integer</paragraph>
+ <paragraph role="paragraph" id="par_id3155411" l10n="U" xml-lang="en-US" oldref="15">Dim iValue2 as Integer</paragraph>
+ <paragraph role="paragraph" id="par_id3147435" l10n="U" xml-lang="en-US" oldref="16">iValue1 = 5</paragraph>
+ <paragraph role="paragraph" id="par_id3163710" l10n="U" xml-lang="en-US" oldref="17">iValue2 = 10</paragraph>
+ <paragraph role="paragraph" id="par_id3151118" l10n="U" xml-lang="en-US" oldref="18">Print iValue1 + iValue2</paragraph>
+ <paragraph role="paragraph" id="par_id3146974" l10n="U" xml-lang="en-US" oldref="19">End Sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03070400.xhp b/helpcontent2/source/text/sbasic/shared/03070400.xhp
new file mode 100755
index 0000000000..76c0705f54
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03070400.xhp
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03070400xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">&quot;/&quot; Operator [Runtime]</title>
+<filename>/text/sbasic/shared/03070400.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="division">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3150669"><bookmark_value>&quot;/&quot; operator;mathematical operators</bookmark_value></bookmark><paragraph id="hd_id3150669" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03070400.xhp" name="&quot;/&quot; Operator [Runtime]">&quot;/&quot; Operator [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3149670" l10n="U" xml-lang="en-US" oldref="2">Divides two values.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3148946" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3153360" l10n="U" xml-lang="en-US" oldref="4">Result = Expression1 / Expression2 </paragraph>
+ <paragraph role="heading" level="2" id="hd_id3150359" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3154141" xml-lang="en-US" oldref="6"><emph>Result:</emph> Any numerical value that contains the result of the division.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150448" xml-lang="en-US" oldref="7"><emph>Expression1, Expression2:</emph> Any numerical expressions that you want to divide.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3154684" l10n="U" xml-lang="en-US" oldref="8">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3145786" l10n="U" xml-lang="en-US" oldref="9">Sub ExampleDivision1</paragraph>
+ <paragraph role="paragraph" id="par_id3153768" l10n="U" xml-lang="en-US" oldref="10">Print 5 / 5</paragraph>
+ <paragraph role="paragraph" id="par_id3161832" l10n="U" xml-lang="en-US" oldref="11">End sub</paragraph>
+
+ <paragraph role="paragraph" id="par_id3149484" l10n="U" xml-lang="en-US" oldref="13">Sub ExampleDivision2</paragraph>
+ <paragraph role="paragraph" id="par_id3145365" l10n="U" xml-lang="en-US" oldref="14">Dim iValue1 as Integer</paragraph>
+ <paragraph role="paragraph" id="par_id3146119" l10n="U" xml-lang="en-US" oldref="15">Dim iValue2 as Integer</paragraph>
+ <paragraph role="paragraph" id="par_id3150011" l10n="U" xml-lang="en-US" oldref="16">iValue1 = 5</paragraph>
+ <paragraph role="paragraph" id="par_id3153726" l10n="U" xml-lang="en-US" oldref="17">iValue2 = 10</paragraph>
+ <paragraph role="paragraph" id="par_id3151117" l10n="U" xml-lang="en-US" oldref="18">Print iValue1 / iValue2</paragraph>
+ <paragraph role="paragraph" id="par_id3146975" l10n="U" xml-lang="en-US" oldref="19">End Sub</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03070500.xhp b/helpcontent2/source/text/sbasic/shared/03070500.xhp
new file mode 100755
index 0000000000..b02c3dbb31
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03070500.xhp
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03070500xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">&quot;^&quot; Operator [Runtime]</title>
+<filename>/text/sbasic/shared/03070500.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="potenz">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3145315"><bookmark_value>&quot;^&quot; operator;mathematical operators</bookmark_value></bookmark><paragraph id="hd_id3145315" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03070500.xhp" name="&quot;^&quot; Operator [Runtime]">&quot;^&quot; Operator [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3149670" l10n="U" xml-lang="en-US" oldref="2">Raises a number to a power.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3147264" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3149656" l10n="U" xml-lang="en-US" oldref="4">Result = Expression ^ Exponent</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3151211" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3153192" xml-lang="en-US" oldref="6"><emph>Result:</emph> Any numerical expression that contains the result of the number raised to a power.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150448" xml-lang="en-US" oldref="7"><emph>Expression:</emph> Numerical value that you want to raise to a power.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3156422" xml-lang="en-US" oldref="8"><emph>Exponent:</emph> The value of the power that you want to raise the expression to.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3147287" l10n="U" xml-lang="en-US" oldref="9">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3153770" l10n="U" xml-lang="en-US" oldref="10">Sub Example</paragraph>
+ <paragraph role="paragraph" id="par_id3152886" l10n="U" xml-lang="en-US" oldref="11">Print ( 12.345 ^ 23 )</paragraph>
+ <paragraph role="paragraph" id="par_id3146984" l10n="U" xml-lang="en-US" oldref="12">Print Exp ( 23 * Log( 12.345 ) ) REM Raises by forming a logarithm</paragraph>
+ <paragraph role="paragraph" id="par_id3148618" l10n="U" xml-lang="en-US" oldref="13">End Sub</paragraph>
+
+
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03070600.xhp b/helpcontent2/source/text/sbasic/shared/03070600.xhp
new file mode 100755
index 0000000000..8511da6e58
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03070600.xhp
@@ -0,0 +1,90 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03070600xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Mod-Operator [Runtime]</title>
+<filename>/text/sbasic/shared/03070600.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="mod">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3150669"><bookmark_value>MOD;mathematical operators</bookmark_value></bookmark><paragraph id="hd_id3150669" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03070600.xhp" name="Mod-Operator [Runtime]">Mod-Operator [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3148686" l10n="U" xml-lang="en-US" oldref="2">Returns the integer remainder of a division.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3146795" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3147560" l10n="U" xml-lang="en-US" oldref="4">Result = Expression1 MOD Expression2</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3149657" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3153380" l10n="U" xml-lang="en-US" oldref="6">Integer</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3154365" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3145172" xml-lang="en-US" oldref="8"><emph>Result:</emph> Any numeric variable that contains the result of the MOD operation.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3151042" xml-lang="en-US" oldref="9"><emph>Expression1, Expression2:</emph> Any numeric expressions that you want to divide.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3147287" l10n="U" xml-lang="en-US" oldref="10">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3153770" l10n="U" xml-lang="en-US" oldref="11">sub ExampleMod</paragraph>
+ <paragraph role="paragraph" id="par_id3161832" l10n="U" xml-lang="en-US" oldref="12">print 10 mod 2.5 REM returns 0</paragraph>
+ <paragraph role="paragraph" id="par_id3146922" l10n="U" xml-lang="en-US" oldref="13">print 10 / 2.5 REM returns 4</paragraph>
+ <paragraph role="paragraph" id="par_id3145273" l10n="U" xml-lang="en-US" oldref="14">print 10 mod 5 REM returns 0</paragraph>
+ <paragraph role="paragraph" id="par_id3150011" l10n="U" xml-lang="en-US" oldref="15">print 10 / 5 REM returns 2</paragraph>
+ <paragraph role="paragraph" id="par_id3149483" l10n="U" xml-lang="en-US" oldref="16">print 5 mod 10 REM returns 5</paragraph>
+ <paragraph role="paragraph" id="par_id3151114" l10n="U" xml-lang="en-US" oldref="17">print 5 / 10 REM returns 0.5</paragraph>
+ <paragraph role="paragraph" id="par_id3154013" l10n="U" xml-lang="en-US" oldref="18">end sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03080000.xhp b/helpcontent2/source/text/sbasic/shared/03080000.xhp
new file mode 100755
index 0000000000..079127df3e
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03080000.xhp
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03080000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Numeric Functions</title>
+<filename>/text/sbasic/shared/03080000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="nummer">
+ <paragraph id="hd_id3153127" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03080000.xhp" name="Numeric Functions">Numeric Functions</link></paragraph>
+ <paragraph role="paragraph" id="par_id3148550" l10n="U" xml-lang="en-US" oldref="2">The following numeric functions perform calculations. Mathematical and Boolean operators are described in a separate section. Functions differ from operators in that functions pass arguments and return a result, instead of operators that return a result by combining two numeric expressions.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/03080100.xhp#trigo"/>
+ <embed href="text/sbasic/shared/03080200.xhp#loga"/>
+ <embed href="text/sbasic/shared/03080300.xhp#zufall"/>
+ <embed href="text/sbasic/shared/03080400.xhp#quadrat"/>
+ <embed href="text/sbasic/shared/03080500.xhp#ganzzahl"/>
+ <embed href="text/sbasic/shared/03080600.xhp#absolut"/>
+ <embed href="text/sbasic/shared/03080700.xhp#vorzeichen"/>
+ <embed href="text/sbasic/shared/03080800.xhp#umwandeln"/>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03080100.xhp b/helpcontent2/source/text/sbasic/shared/03080100.xhp
new file mode 100755
index 0000000000..07c7fff94b
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03080100.xhp
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03080100xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Trigonometric Functions</title>
+<filename>/text/sbasic/shared/03080100.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="trigo">
+ <paragraph id="hd_id3159201" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03080100.xhp" name="Trigonometric Functions">Trigonometric Functions</link></paragraph>
+ <paragraph role="paragraph" id="par_id3149180" l10n="U" xml-lang="en-US" oldref="2">The following are the trigonometric functions that are supported in $[officename] Basic.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/03080101.xhp#atn"/>
+ <embed href="text/sbasic/shared/03080102.xhp#cos"/>
+ <embed href="text/sbasic/shared/03080103.xhp#sin"/>
+ <embed href="text/sbasic/shared/03080104.xhp#tan"/>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03080101.xhp b/helpcontent2/source/text/sbasic/shared/03080101.xhp
new file mode 100755
index 0000000000..c90baacb71
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03080101.xhp
@@ -0,0 +1,100 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03080101xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Atn Function [Runtime]</title>
+<filename>/text/sbasic/shared/03080101.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="atn">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3150616"><bookmark_value>Atn;function</bookmark_value></bookmark><paragraph id="hd_id3150616" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03080101.xhp" name="Atn Function [Runtime]">Atn Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3149346" l10n="U" xml-lang="en-US" oldref="2">Trigonometric function that returns the arctangent of a numeric expression. The return value is in the range -Pi/2 to +Pi/2.</paragraph>
+ </section>
+ <paragraph role="paragraph" id="par_id3143271" l10n="U" xml-lang="en-US" oldref="3">The arctangent is the inverse of the tangent function. The Atn Function returns the angle &quot;Alpha&quot;, expressed in radians, using the tangent of this angle. The function can also return the angle &quot;Alpha&quot; by comparing the ratio of the length of the side that is opposite of the angle to the length of the side that is adjacent to the angle in a right-angled triangle.</paragraph>
+ <paragraph role="paragraph" id="par_id3145315" l10n="U" xml-lang="en-US" oldref="4">Atn(side opposite the angle/side adjacent to angle)= Alpha</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3149669" l10n="U" xml-lang="en-US" oldref="5">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3148947" l10n="U" xml-lang="en-US" oldref="6">Atn (Number)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3148664" l10n="U" xml-lang="en-US" oldref="7">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3150359" l10n="U" xml-lang="en-US" oldref="8">Double</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3148798" l10n="U" xml-lang="en-US" oldref="9">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3156212" xml-lang="en-US" oldref="10"><emph>Number:</emph> Any numerical expression that represents the ratio of two sides of a right triangle. The Atn function returns the corresponding angle in radians (arctangent).</paragraph>
+ <paragraph role="paragraph" id="par_id3153192" l10n="U" xml-lang="en-US" oldref="11">To convert radians to degrees, multiply radians by 180/pi.</paragraph>
+ <paragraph role="paragraph" id="par_id3147230" l10n="U" xml-lang="en-US" oldref="12">degree=(radian*180)/pi</paragraph>
+ <paragraph role="paragraph" id="par_id3125864" l10n="U" xml-lang="en-US" oldref="13">radian=(degree*pi)/180</paragraph>
+ <paragraph role="paragraph" id="par_id3159252" l10n="U" xml-lang="en-US" oldref="14">Pi is here the fixed circle constant with the rounded value 3.14159.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3153142" l10n="U" xml-lang="en-US" oldref="15">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3146985" l10n="U" xml-lang="en-US" oldref="16">REM The following example calculates for a right-angled triangle</paragraph>
+ <paragraph role="paragraph" id="par_id3145750" l10n="U" xml-lang="en-US" oldref="17">REM the angle Alpha from the tangent of the angle Alpha:</paragraph>
+ <paragraph role="paragraph" id="par_id3146975" l10n="U" xml-lang="en-US" oldref="18">Sub ExampleATN</paragraph>
+ <paragraph role="paragraph" id="par_id3151112" l10n="U" xml-lang="en-US" oldref="19">REM rounded Pi = 3.14159 is a predefined constant</paragraph>
+ <paragraph role="paragraph" id="par_id3159156" l10n="U" xml-lang="en-US" oldref="20">Dim d1 As Double</paragraph>
+ <paragraph role="paragraph" id="par_id3147435" l10n="U" xml-lang="en-US" oldref="21">Dim d2 As Double</paragraph>
+ <paragraph role="paragraph" id="par_id3149262" l10n="U" xml-lang="en-US" oldref="22">d1 = InputBox$ (&quot;Enter the length of the side adjacent to the angle: &quot;,&quot;Adjacent&quot;)</paragraph>
+ <paragraph role="paragraph" id="par_id3149482" l10n="U" xml-lang="en-US" oldref="23">d2 = InputBox$ (&quot;Enter the length of the side opposite the angle: &quot;,&quot;Opposite&quot;)</paragraph>
+ <paragraph role="paragraph" id="par_id3155415" l10n="U" xml-lang="en-US" oldref="24">Print &quot;The Alpha angle is&quot;; (atn (d2/d1) * 180 / Pi); &quot; degrees&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3149959" l10n="U" xml-lang="en-US" oldref="25">End Sub</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03080102.xhp b/helpcontent2/source/text/sbasic/shared/03080102.xhp
new file mode 100755
index 0000000000..974b6708fa
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03080102.xhp
@@ -0,0 +1,99 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03080102xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Cos Function [Runtime]</title>
+<filename>/text/sbasic/shared/03080102.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="cos">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3154923"><bookmark_value>Cos;function</bookmark_value></bookmark><paragraph id="hd_id3154923" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03080102.xhp" name="Cos Function [Runtime]">Cos Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3159413" l10n="U" xml-lang="en-US" oldref="2">Calculates the cosine of an angle. The angle is specified in radians. The result lies between -1 and 1.</paragraph>
+ </section>
+ <paragraph role="paragraph" id="par_id3150358" l10n="U" xml-lang="en-US" oldref="3">Using the angle Alpha, the Cos-Function calculates the ratio of the length of the side that is adjacent to the angle, divided by the length of the hypotenuse in a right-angled triangle.</paragraph>
+ <paragraph role="paragraph" id="par_id3154141" l10n="U" xml-lang="en-US" oldref="4">Cos(Alpha) = Adjacent/Hypotenuse</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3154125" l10n="U" xml-lang="en-US" oldref="5">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3145172" l10n="U" xml-lang="en-US" oldref="6">Cos (Number)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3156214" l10n="U" xml-lang="en-US" oldref="7">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3150449" l10n="U" xml-lang="en-US" oldref="8">Double</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3153969" l10n="U" xml-lang="en-US" oldref="9">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3153770" xml-lang="en-US" oldref="10"><emph>Number:</emph> Numeric expression that specifies an angle in radians that you want to calculate the cosine for.</paragraph>
+ <paragraph role="paragraph" id="par_id3145749" l10n="U" xml-lang="en-US" oldref="11">To convert degrees to radians, multiply degrees by pi/180. To convert radians to degrees, multiply radians by 180/pi.</paragraph>
+ <paragraph role="paragraph" id="par_id3149664" l10n="U" xml-lang="en-US" oldref="12">degree=(radian*180)/pi</paragraph>
+ <paragraph role="paragraph" id="par_id3146985" l10n="U" xml-lang="en-US" oldref="13">radian=(degree*pi)/180</paragraph>
+ <paragraph role="paragraph" id="par_id3152885" l10n="U" xml-lang="en-US" oldref="14">Pi is here the fixed circle constant with the rounded value 3.14159...</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3153951" l10n="U" xml-lang="en-US" oldref="15">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3155855" l10n="U" xml-lang="en-US" oldref="16">REM The following example allows for a right-angled triangle the input of</paragraph>
+ <paragraph role="paragraph" id="par_id3149484" l10n="U" xml-lang="en-US" oldref="17">REM secant and angle (in degrees) and calculates the length of the hypotenuse:</paragraph>
+ <paragraph role="paragraph" id="par_id3147428" l10n="U" xml-lang="en-US" oldref="18">Sub ExampleCosinus</paragraph>
+ <paragraph role="paragraph" id="par_id3150010" l10n="U" xml-lang="en-US" oldref="19">REM rounded Pi = 3.14159</paragraph>
+ <paragraph role="paragraph" id="par_id3149959" l10n="U" xml-lang="en-US" oldref="20">Dim d1 as Double, dAngle as Double</paragraph>
+ <paragraph role="paragraph" id="par_id3144764" l10n="U" xml-lang="en-US" oldref="21">d1 = InputBox$ (&quot;&quot;Enter the length of the adjacent side: &quot;,&quot;Adjacent&quot;)</paragraph>
+ <paragraph role="paragraph" id="par_id3154491" l10n="U" xml-lang="en-US" oldref="22">dAngle = InputBox$ (&quot;Enter the angle Alpha (in degrees): &quot;,&quot;Alpha&quot;)</paragraph>
+ <paragraph role="paragraph" id="par_id3151074" l10n="U" xml-lang="en-US" oldref="23">Print &quot;The length of the hypothenuse is&quot;; (d1 / cos (dAngle * Pi / 180))</paragraph>
+ <paragraph role="paragraph" id="par_id3149583" l10n="U" xml-lang="en-US" oldref="24">End Sub</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03080103.xhp b/helpcontent2/source/text/sbasic/shared/03080103.xhp
new file mode 100755
index 0000000000..b008d610b4
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03080103.xhp
@@ -0,0 +1,100 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03080103xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Sin Function [Runtime]</title>
+<filename>/text/sbasic/shared/03080103.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="sin">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3153896"><bookmark_value>Sin;function</bookmark_value></bookmark><paragraph id="hd_id3153896" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03080103.xhp" name="Sin Function [Runtime]">Sin Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3149456" l10n="U" xml-lang="en-US" oldref="2">Returns the sine of an angle. The angle is specified in radians. The result lies between -1 and 1.</paragraph>
+ </section>
+ <paragraph role="paragraph" id="par_id3153379" l10n="U" xml-lang="en-US" oldref="3">Using the angle Alpha, the Sin Function returns the ratio of the length of the opposite side of an angle to the length of the hypotenuse in a right-angled triangle.</paragraph>
+ <paragraph role="paragraph" id="par_id3148798" l10n="U" xml-lang="en-US" oldref="4">Sin(Alpha) = side opposite the angle/hypotenuse</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3147230" l10n="U" xml-lang="en-US" oldref="5">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3154909" l10n="U" xml-lang="en-US" oldref="6">Sin (Number)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3156214" l10n="U" xml-lang="en-US" oldref="7">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3150870" l10n="U" xml-lang="en-US" oldref="8">Double</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3155132" l10n="U" xml-lang="en-US" oldref="9">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3145786" xml-lang="en-US" oldref="10"><emph>Number:</emph> Numeric expression that defines the angle in radians that you want to calculate the sine for.</paragraph>
+ <paragraph role="paragraph" id="par_id3155413" l10n="U" xml-lang="en-US" oldref="11">To convert degrees to radians, multiply degrees by Pi/180, and to convert radians to degrees, multiply radians by 180/Pi.</paragraph>
+ <paragraph role="paragraph" id="par_id3149664" l10n="U" xml-lang="en-US" oldref="12">grad=(radiant*180)/pi</paragraph>
+ <paragraph role="paragraph" id="par_id3153143" l10n="U" xml-lang="en-US" oldref="13">radiant=(grad*pi)/180</paragraph>
+ <paragraph role="paragraph" id="par_id3151112" l10n="U" xml-lang="en-US" oldref="14">Pi is approximately 3.141593.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3163712" l10n="U" xml-lang="en-US" oldref="15">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3149482" l10n="U" xml-lang="en-US" oldref="16">REM In this example, the following entry is possible for a right-angled triangle:</paragraph>
+ <paragraph role="paragraph" id="par_id3148577" l10n="U" xml-lang="en-US" oldref="17">REM The side opposite the angle and the angle (in degrees) to calculate the length of the hypotenuse:</paragraph>
+ <paragraph role="paragraph" id="par_id3152941" l10n="U" xml-lang="en-US" oldref="18">Sub ExampleSine</paragraph>
+ <paragraph role="paragraph" id="par_id3150011" l10n="U" xml-lang="en-US" oldref="19">REM Pi = 3.1415926 is a predefined variable</paragraph>
+ <paragraph role="paragraph" id="par_id3153159" l10n="U" xml-lang="en-US" oldref="20">Dim d1 as Double</paragraph>
+ <paragraph role="paragraph" id="par_id3154491" l10n="U" xml-lang="en-US" oldref="21">Dim dAlpha as Double</paragraph>
+ <paragraph role="paragraph" id="par_id3145251" l10n="U" xml-lang="en-US" oldref="22">d1 = InputBox$ (&quot;Enter the length of the opposite side: &quot;,&quot;Opposite Side&quot;)</paragraph>
+ <paragraph role="paragraph" id="par_id3148456" l10n="U" xml-lang="en-US" oldref="23">dAlpha = InputBox$ (&quot;Enter the angle Alpha (in degrees): &quot;,&quot;Alpha&quot;)</paragraph>
+ <paragraph role="paragraph" id="par_id3153877" l10n="U" xml-lang="en-US" oldref="24">Print &quot;The length of the hypotenuse is&quot;; (d1 / sin (dAlpha * Pi / 180))</paragraph>
+ <paragraph role="paragraph" id="par_id3150717" l10n="U" xml-lang="en-US" oldref="25">End Sub</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03080104.xhp b/helpcontent2/source/text/sbasic/shared/03080104.xhp
new file mode 100755
index 0000000000..44ba0c1cd5
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03080104.xhp
@@ -0,0 +1,100 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03080104xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Tan Function [Runtime]</title>
+<filename>/text/sbasic/shared/03080104.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="tan">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3148550"><bookmark_value>Tan;function</bookmark_value></bookmark><paragraph id="hd_id3148550" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03080104.xhp" name="Tan Function [Runtime]">Tan Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3148663" l10n="U" xml-lang="en-US" oldref="2">Determines the tangent of an angle. The angle is returned in radians.</paragraph>
+ </section>
+ <paragraph role="paragraph" id="par_id3153379" l10n="U" xml-lang="en-US" oldref="3">Using the angle Alpha, the Tan Function calculates the ratio of the length of the side opposite the angle to the length of the side adjacent to the angle in a right-angled triangle.</paragraph>
+ <paragraph role="paragraph" id="par_id3154366" l10n="U" xml-lang="en-US" oldref="4">Tan(Alpha) = side opposite the angle/side adjacent to angle</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3145174" l10n="U" xml-lang="en-US" oldref="5">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3151042" l10n="U" xml-lang="en-US" oldref="6">Tan (Number)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3156214" l10n="U" xml-lang="en-US" oldref="7">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3156281" l10n="U" xml-lang="en-US" oldref="8">Double</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3155132" l10n="U" xml-lang="en-US" oldref="9">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3145786" xml-lang="en-US" oldref="10"><emph>Number:</emph> Any numeric expression that you want to calculate the tangent for (in radians).</paragraph>
+ <paragraph role="paragraph" id="par_id3153728" l10n="U" xml-lang="en-US" oldref="11">To convert degrees to radians, multiply by Pi/180. To convert radians to degrees, multiply by 180/Pi.</paragraph>
+ <paragraph role="paragraph" id="par_id3155414" l10n="U" xml-lang="en-US" oldref="12">grad=(radiant*180)/pi</paragraph>
+ <paragraph role="paragraph" id="par_id3146975" l10n="U" xml-lang="en-US" oldref="13">radiant=(grad*pi)/180</paragraph>
+ <paragraph role="paragraph" id="par_id3147434" l10n="U" xml-lang="en-US" oldref="14">Pi is approximately 3.141593.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3149483" l10n="U" xml-lang="en-US" oldref="15">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3148646" l10n="U" xml-lang="en-US" oldref="16">REM In this example, the following entry is possible for a right-angled triangle:</paragraph>
+ <paragraph role="paragraph" id="par_id3150012" l10n="U" xml-lang="en-US" oldref="17">REM The side opposite the angle and the angle (in degrees) to calculate the length of the side adjacent to the angle:</paragraph>
+ <paragraph role="paragraph" id="par_id3151115" l10n="U" xml-lang="en-US" oldref="18">Sub ExampleTangens</paragraph>
+ <paragraph role="paragraph" id="par_id3153158" l10n="U" xml-lang="en-US" oldref="19">REM Pi = 3.1415926 is a pre-defined variable</paragraph>
+ <paragraph role="paragraph" id="par_id3145800" l10n="U" xml-lang="en-US" oldref="20">Dim d1 as Double</paragraph>
+ <paragraph role="paragraph" id="par_id3150417" l10n="U" xml-lang="en-US" oldref="21">Dim dAlpha as Double</paragraph>
+ <paragraph role="paragraph" id="par_id3145252" l10n="U" xml-lang="en-US" oldref="22">d1 = InputBox$ (&quot;Enter the length of the side opposite the angle: &quot;,&quot;opposite&quot;)</paragraph>
+ <paragraph role="paragraph" id="par_id3149582" l10n="U" xml-lang="en-US" oldref="23">dAlpha = InputBox$ (&quot;Enter the Alpha angle (in degrees): &quot;,&quot;Alpha&quot;)</paragraph>
+ <paragraph role="paragraph" id="par_id3154016" l10n="U" xml-lang="en-US" oldref="24">Print &quot;the length of the side adjacent the angle is&quot;; (d1 / tan (dAlpha * Pi / 180))</paragraph>
+ <paragraph role="paragraph" id="par_id3154731" l10n="U" xml-lang="en-US" oldref="25">End Sub</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03080200.xhp b/helpcontent2/source/text/sbasic/shared/03080200.xhp
new file mode 100755
index 0000000000..3323f5597c
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03080200.xhp
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03080200xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Exponential and Logarithmic Functions</title>
+<filename>/text/sbasic/shared/03080200.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="loga">
+ <paragraph id="hd_id3154758" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03080200.xhp" name="Exponential and Logarithmic Functions">Exponential and Logarithmic Functions</link></paragraph>
+ <paragraph role="paragraph" id="par_id3148550" l10n="U" xml-lang="en-US" oldref="2">$[officename] Basic supports the following exponential and logarithmic functions.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/03080201.xhp#exp"/>
+ <embed href="text/sbasic/shared/03080202.xhp#log"/>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03080201.xhp b/helpcontent2/source/text/sbasic/shared/03080201.xhp
new file mode 100755
index 0000000000..df8536ab10
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03080201.xhp
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03080201xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Exp-Function [Runtime]</title>
+<filename>/text/sbasic/shared/03080201.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="exp">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3150616"><bookmark_value>Exp;function</bookmark_value></bookmark><paragraph id="hd_id3150616" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03080201.xhp" name="Exp-Function [Runtime]">Exp-Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3155555" l10n="U" xml-lang="en-US" oldref="2">Returns the base of the natural logarithm (e = 2.718282) raised to a power.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3150984" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3145315" l10n="U" xml-lang="en-US" oldref="4">Exp (Number)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3154347" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3149670" l10n="U" xml-lang="en-US" oldref="6">Double</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3154760" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150793" xml-lang="en-US" oldref="8"><emph>Number:</emph> Any numeric expression that specifies the power that you want to raise &quot;e&quot; to (the base of natural logarithms). The power must be for both single-precision numbers less than or equal to 88.02969 and double-precision numbers less than or equal to 709.782712893, since $[officename] Basic returns an Overflow error for numbers exceeding these values.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3156280" l10n="U" xml-lang="en-US" oldref="9">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3153193" l10n="U" xml-lang="en-US" oldref="10">Sub ExampleLogExp</paragraph>
+ <paragraph role="paragraph" id="par_id3125864" l10n="U" xml-lang="en-US" oldref="11">Dim dValue as Double</paragraph>
+ <paragraph role="paragraph" id="par_id3145172" l10n="U" xml-lang="en-US" oldref="12">const b1=12.345e12</paragraph>
+ <paragraph role="paragraph" id="par_id3159254" l10n="U" xml-lang="en-US" oldref="13">const b2=1.345e34</paragraph>
+ <paragraph role="paragraph" id="par_id3147287" l10n="U" xml-lang="en-US" oldref="14">dValue=Exp( Log(b1)+Log(b2) )</paragraph>
+ <paragraph role="paragraph" id="par_id3161832" l10n="U" xml-lang="en-US" oldref="15">MsgBox &quot;&quot; &amp; dValue &amp; chr(13) &amp; (b1*b2) ,0,&quot;Multiplication by logarithm&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3151112" l10n="U" xml-lang="en-US" oldref="16">end sub</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03080202.xhp b/helpcontent2/source/text/sbasic/shared/03080202.xhp
new file mode 100755
index 0000000000..2d7c4becf5
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03080202.xhp
@@ -0,0 +1,94 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03080202xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Log Function [Runtime]</title>
+<filename>/text/sbasic/shared/03080202.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="log">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3149416"><bookmark_value>Log;function</bookmark_value></bookmark><paragraph id="hd_id3149416" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03080202.xhp" name="Log Function [Runtime]">Log Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3145066" l10n="U" xml-lang="en-US" oldref="2">Returns the natural logarithm of a number.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3159414" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3154760" l10n="U" xml-lang="en-US" oldref="4">Log (Number)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3149457" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3150791" l10n="U" xml-lang="en-US" oldref="6">Double</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3151211" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3151041" xml-lang="en-US" oldref="8"><emph>Number:</emph> Any numeric expression that you want to calculate the natural logarithm for.</paragraph>
+ <paragraph role="paragraph" id="par_id3150869" l10n="U" xml-lang="en-US" oldref="9">The natural logarithm is the logarithm to the base e. Base e is a constant with an approximate value of 2.718282...</paragraph>
+ <paragraph role="paragraph" id="par_id3153968" l10n="U" xml-lang="en-US" oldref="10">You can calculate logarithms to any base (n) for any number (x) by dividing the natural logarithm of x by the natural logarithm of n, as follows:</paragraph>
+ <paragraph role="paragraph" id="par_id3145420" l10n="U" xml-lang="en-US" oldref="11">Log n(x) = Log(x) / Log(n)</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3155131" l10n="U" xml-lang="en-US" oldref="12">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3152463" l10n="U" xml-lang="en-US" oldref="13">Sub ExampleLogExp</paragraph>
+ <paragraph role="paragraph" id="par_id3145750" l10n="U" xml-lang="en-US" oldref="14">Dim a as Double</paragraph>
+ <paragraph role="paragraph" id="par_id3151116" l10n="U" xml-lang="en-US" oldref="15">Dim const b1=12.345e12</paragraph>
+ <paragraph role="paragraph" id="par_id3146985" l10n="U" xml-lang="en-US" oldref="16">Dim const b2=1.345e34</paragraph>
+ <paragraph role="paragraph" id="par_id3148616" l10n="U" xml-lang="en-US" oldref="17">a=Exp( Log(b1)+Log(b2) )</paragraph>
+ <paragraph role="paragraph" id="par_id3149262" l10n="U" xml-lang="en-US" oldref="18">MsgBox &quot;&quot; &amp; a &amp; chr(13) &amp; (b1*b2) ,0,&quot;Multiplication by logarithm function&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3155411" l10n="U" xml-lang="en-US" oldref="19">end sub</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03080300.xhp b/helpcontent2/source/text/sbasic/shared/03080300.xhp
new file mode 100755
index 0000000000..8fa7360f77
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03080300.xhp
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03080300xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Generating Random Numbers</title>
+<filename>/text/sbasic/shared/03080300.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="zufall">
+ <paragraph id="hd_id3143270" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03080300.xhp" name="Generating Random Numbers">Generating Random Numbers</link></paragraph>
+ <paragraph role="paragraph" id="par_id3154347" l10n="U" xml-lang="en-US" oldref="2">The following statements and functions generate random numbers.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/03080301.xhp#randomize"/>
+ <embed href="text/sbasic/shared/03080302.xhp#rnd"/>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03080301.xhp b/helpcontent2/source/text/sbasic/shared/03080301.xhp
new file mode 100755
index 0000000000..c360e13da0
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03080301.xhp
@@ -0,0 +1,95 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03080301xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Randomize Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03080301.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="randomize">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3150616"><bookmark_value>Randomize;function</bookmark_value></bookmark><paragraph id="hd_id3150616" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03080301.xhp" name="Randomize Statement [Runtime]">Randomize Statement [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3145090" l10n="U" xml-lang="en-US" oldref="2">Initializes the random-number generator.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3147573" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3145315" l10n="U" xml-lang="en-US" oldref="4">Randomize [Number]</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3152456" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3149670" xml-lang="en-US" oldref="6"><emph>Number:</emph> Any integer value that initializes the random-number generator. If Number is omitted, the generator uses the current value of the system timer.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3149655" l10n="U" xml-lang="en-US" oldref="7">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3151211" l10n="U" xml-lang="en-US" oldref="8">Sub ExampleRandomize</paragraph>
+ <paragraph role="paragraph" id="par_id3147229" l10n="U" xml-lang="en-US" oldref="9">Dim iVar As Integer, sText As String</paragraph>
+ <paragraph role="paragraph" id="par_id3150870" l10n="U" xml-lang="en-US" oldref="10">Dim iSpectral(10) As Integer</paragraph>
+ <paragraph role="paragraph" id="par_id3148673" l10n="U" xml-lang="en-US" oldref="12">Randomize 2^14-1</paragraph>
+ <paragraph role="paragraph" id="par_id3156423" l10n="U" xml-lang="en-US" oldref="13">For iCount = 1 To 1000</paragraph>
+ <paragraph role="paragraph" id="par_id3147288" l10n="U" xml-lang="en-US" oldref="14">iVar = Int((10 * Rnd) ) REM Range from 0 to 9</paragraph>
+ <paragraph role="paragraph" id="par_id3155132" l10n="U" xml-lang="en-US" oldref="15">iSpectral(iVar) = iSpectral(iVar) +1</paragraph>
+ <paragraph role="paragraph" id="par_id3153143" l10n="U" xml-lang="en-US" oldref="16">Next iCount</paragraph>
+ <paragraph role="paragraph" id="par_id3154011" l10n="U" xml-lang="en-US" oldref="18">sText = &quot; | &quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3151114" l10n="U" xml-lang="en-US" oldref="19">For iCount = 0 To 9</paragraph>
+ <paragraph role="paragraph" id="par_id3145748" l10n="U" xml-lang="en-US" oldref="20">sText = sText &amp; iSpectral(iCount) &amp; &quot; | &quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3146921" l10n="U" xml-lang="en-US" oldref="21">Next iCount</paragraph>
+ <paragraph role="paragraph" id="par_id3148617" l10n="U" xml-lang="en-US" oldref="22">MsgBox sText,0,&quot;Spectral Distribution&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3152941" l10n="U" xml-lang="en-US" oldref="23">end sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03080302.xhp b/helpcontent2/source/text/sbasic/shared/03080302.xhp
new file mode 100755
index 0000000000..32950f91f4
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03080302.xhp
@@ -0,0 +1,103 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03080302xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Rnd Function [Runtime]</title>
+<filename>/text/sbasic/shared/03080302.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="rnd">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3148685"><bookmark_value>Rnd;function</bookmark_value></bookmark><paragraph id="hd_id3148685" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03080302.xhp" name="Rnd Function [Runtime]">Rnd Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3149669" l10n="U" xml-lang="en-US" oldref="2">Returns a random number between 0 and 1.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3153897" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3150543" l10n="U" xml-lang="en-US" oldref="4">Rnd [(Expression)]</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3149655" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3154365" l10n="U" xml-lang="en-US" oldref="6">Double</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3154909" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3125864" xml-lang="en-US" oldref="8"><emph>Expression:</emph> Any numeric expression that defines how to generate random numbers.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3156423" xml-lang="en-US" oldref="9"><emph>Less than zero:</emph> Always returns the same random number.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3149560" xml-lang="en-US" oldref="10"><emph>Greater than zero:</emph> Returns the next random number in the sequence.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3148648" xml-lang="en-US" oldref="11"><emph>Zero:</emph> Returns the random number that was last generated.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3155306" xml-lang="en-US" oldref="12"><emph>Omitted:</emph> Returns the next random number in the sequence.</paragraph>
+ <paragraph role="paragraph" id="par_id3153091" l10n="U" xml-lang="en-US" oldref="13">If the same number is passed for each successive call to the Rnd function, the same random-number sequence is generated. This is because the Expression parameter is used as a starting point for the next number.</paragraph>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3147318" l10n="U" oldref="14">The <emph>Rnd</emph> function only returns values ranging from 0 to 1. To generate random integers in a given range, use the formula in the following example:</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3151118" l10n="U" xml-lang="en-US" oldref="15">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3145365" l10n="U" xml-lang="en-US" oldref="16">Sub ExampleRandomSelect</paragraph>
+ <paragraph role="paragraph" id="par_id3147426" l10n="U" xml-lang="en-US" oldref="17">Dim iVar As Integer</paragraph>
+ <paragraph role="paragraph" id="par_id3150011" l10n="U" xml-lang="en-US" oldref="18">iVar = Int((15 * Rnd) -2)</paragraph>
+ <paragraph role="paragraph" id="par_id3148575" l10n="U" xml-lang="en-US" oldref="19">Select Case iVar</paragraph>
+ <paragraph role="paragraph" id="par_id3154097" l10n="U" xml-lang="en-US" oldref="20">Case 1 To 5</paragraph>
+ <paragraph role="paragraph" id="par_id3147124" l10n="U" xml-lang="en-US" oldref="21">Print &quot;Number from 1 to 5&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3155418" l10n="U" xml-lang="en-US" oldref="22">Case 6, 7, 8</paragraph>
+ <paragraph role="paragraph" id="par_id3154943" l10n="U" xml-lang="en-US" oldref="23">Print &quot;Number from 6 to 8&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3145800" l10n="U" xml-lang="en-US" oldref="24">Case Is &gt; 8 And iVar &lt; 11</paragraph>
+ <paragraph role="paragraph" id="par_id3151074" l10n="U" xml-lang="en-US" oldref="25">Print &quot;Greater than 8&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3154016" l10n="U" xml-lang="en-US" oldref="26">Case Else</paragraph>
+ <paragraph role="paragraph" id="par_id3155602" l10n="U" xml-lang="en-US" oldref="27">Print &quot;Outside range 1 to 10&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3150328" l10n="U" xml-lang="en-US" oldref="28">End Select</paragraph>
+ <paragraph role="paragraph" id="par_id3154479" l10n="U" xml-lang="en-US" oldref="29">end sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03080400.xhp b/helpcontent2/source/text/sbasic/shared/03080400.xhp
new file mode 100755
index 0000000000..8f24e94558
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03080400.xhp
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03080400xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Square Root Calculation</title>
+<filename>/text/sbasic/shared/03080400.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="quadrat">
+ <paragraph id="hd_id3148946" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03080400.xhp" name="Square Root Calculation">Square Root Calculation</link></paragraph>
+ <paragraph role="paragraph" id="par_id3159414" l10n="U" xml-lang="en-US" oldref="2">Use this function to calculate square roots.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/03080401.xhp#sqr"/>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03080401.xhp b/helpcontent2/source/text/sbasic/shared/03080401.xhp
new file mode 100755
index 0000000000..d0b1a051b1
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03080401.xhp
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03080401xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Sqr Function [Runtime]</title>
+<filename>/text/sbasic/shared/03080401.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="sqr">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3156027"><bookmark_value>Sqr;function</bookmark_value></bookmark><paragraph id="hd_id3156027" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03080401.xhp" name="Sqr Function [Runtime]">Sqr Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3147226" l10n="U" xml-lang="en-US" oldref="2">Calculates the square root of a numeric expression.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3143267" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3149415" l10n="U" xml-lang="en-US" oldref="4">Sqr (Number)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3156023" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3156343" l10n="U" xml-lang="en-US" oldref="6">Double</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3147265" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3149457" xml-lang="en-US" oldref="8"><emph>Number:</emph> Any numeric expression that you want to calculate the square root for.</paragraph>
+ <paragraph role="paragraph" id="par_id3154365" l10n="U" xml-lang="en-US" oldref="9">A square root is the number that you multiply by itself to produce another number, for example, the square root of 36 is 6.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3153192" l10n="U" xml-lang="en-US" oldref="10">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3145172" l10n="U" xml-lang="en-US" oldref="11">Sub ExampleSqr</paragraph>
+ <paragraph role="paragraph" id="par_id3156423" l10n="U" xml-lang="en-US" oldref="12">Dim iVar As Single</paragraph>
+ <paragraph role="paragraph" id="par_id3147288" l10n="U" xml-lang="en-US" oldref="13">iVar = 36</paragraph>
+ <paragraph role="paragraph" id="par_id3159254" l10n="U" xml-lang="en-US" oldref="14">Msgbox Sqr(iVar)</paragraph>
+ <paragraph role="paragraph" id="par_id3161832" l10n="U" xml-lang="en-US" oldref="15">end sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03080500.xhp b/helpcontent2/source/text/sbasic/shared/03080500.xhp
new file mode 100755
index 0000000000..ca56588640
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03080500.xhp
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03080500xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Integers</title>
+<filename>/text/sbasic/shared/03080500.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="ganzzahl">
+ <paragraph id="hd_id3153345" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03080500.xhp" name="Integers">Integers</link></paragraph>
+ <paragraph role="paragraph" id="par_id3156152" l10n="U" xml-lang="en-US" oldref="2">The following functions round values to integers.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/03080501.xhp#fix"/>
+ <embed href="text/sbasic/shared/03080502.xhp#int"/>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03080501.xhp b/helpcontent2/source/text/sbasic/shared/03080501.xhp
new file mode 100755
index 0000000000..3c56c5bd0b
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03080501.xhp
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03080501xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Fix Function [Runtime]</title>
+<filename>/text/sbasic/shared/03080501.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="fix">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3159201"><bookmark_value>Fix;function</bookmark_value></bookmark><paragraph id="hd_id3159201" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03080501.xhp" name="Fix Function [Runtime]">Fix Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3149346" l10n="U" xml-lang="en-US" oldref="2">Returns the integer value of a numeric expression by removing the fractional part of the number.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3155419" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3156152" l10n="U" xml-lang="en-US" oldref="4">Fix (Expression)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3154923" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3148947" l10n="U" xml-lang="en-US" oldref="6">Double</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3154760" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3149457" xml-lang="en-US" oldref="8"><emph>Expression:</emph> Numeric expression that you want to return the integer value for.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3150447" l10n="U" xml-lang="en-US" oldref="9">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3153193" l10n="U" xml-lang="en-US" oldref="10">sub ExampleFix</paragraph>
+ <paragraph role="paragraph" id="par_id3156214" l10n="U" xml-lang="en-US" oldref="11">Print Fix(3.14159) REM returns 3.</paragraph>
+ <paragraph role="paragraph" id="par_id3154217" l10n="U" xml-lang="en-US" oldref="12">Print Fix(0) REM returns 0.</paragraph>
+ <paragraph role="paragraph" id="par_id3145786" l10n="U" xml-lang="en-US" oldref="13">Print Fix(-3.14159)REM returns -3.</paragraph>
+ <paragraph role="paragraph" id="par_id3153188" l10n="U" xml-lang="en-US" oldref="14">end sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03080502.xhp b/helpcontent2/source/text/sbasic/shared/03080502.xhp
new file mode 100755
index 0000000000..3d71645fe0
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03080502.xhp
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03080502xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Int Function [Runtime]</title>
+<filename>/text/sbasic/shared/03080502.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="int">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3153345"><bookmark_value>Int;function</bookmark_value></bookmark><paragraph id="hd_id3153345" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03080502.xhp" name="Int Function [Runtime]">Int Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3155420" l10n="U" xml-lang="en-US" oldref="2">Returns the integer portion of a number.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3147559" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3146795" l10n="U" xml-lang="en-US" oldref="4">Int (Number)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3149670" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3150400" l10n="U" xml-lang="en-US" oldref="6">Double</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3149656" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3148797" xml-lang="en-US" oldref="8"><emph>Number:</emph> Any valid numeric expression. Rounds the fractional part of the number and returns the integer value.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3148672" l10n="U" xml-lang="en-US" oldref="9">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3156214" l10n="U" xml-lang="en-US" oldref="10">sub ExampleINT</paragraph>
+ <paragraph role="paragraph" id="par_id3125864" l10n="U" xml-lang="en-US" oldref="11">Print Int(3.14159) REM returns the value 3.</paragraph>
+ <paragraph role="paragraph" id="par_id3145787" l10n="U" xml-lang="en-US" oldref="12">Print Int(0) REM returns the value 0.</paragraph>
+ <paragraph role="paragraph" id="par_id3153143" l10n="U" xml-lang="en-US" oldref="13">Print Int(-3.14159) REM returns the value -4.</paragraph>
+ <paragraph role="paragraph" id="par_id3152578" l10n="U" xml-lang="en-US" oldref="14">end sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03080600.xhp b/helpcontent2/source/text/sbasic/shared/03080600.xhp
new file mode 100755
index 0000000000..f0e8874277
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03080600.xhp
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03080600xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Absolute Values</title>
+<filename>/text/sbasic/shared/03080600.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="absolut">
+ <paragraph id="hd_id3146958" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03080600.xhp" name="Absolute Values">Absolute Values</link></paragraph>
+ <paragraph role="paragraph" id="par_id3150771" l10n="U" xml-lang="en-US" oldref="2">This function returns absolute values.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/03080601.xhp#abs"/>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03080601.xhp b/helpcontent2/source/text/sbasic/shared/03080601.xhp
new file mode 100755
index 0000000000..a5f28ca845
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03080601.xhp
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03080601xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Abs Function [Runtime]</title>
+<filename>/text/sbasic/shared/03080601.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="abs">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3159201"><bookmark_value>Abs;function</bookmark_value></bookmark><paragraph id="hd_id3159201" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03080601.xhp" name="Abs Function [Runtime]">Abs Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3153394" l10n="U" xml-lang="en-US" oldref="2">Returns the absolute value of a numeric expression.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3149233" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3147573" l10n="U" xml-lang="en-US" oldref="4">Abs (Number)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3156152" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3149670" l10n="U" xml-lang="en-US" oldref="6">Double</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3154924" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3154347" xml-lang="en-US" oldref="8"><emph>Number:</emph> Any numeric expression that you want to return the absolute value for. Positive numbers, including 0, are returned unchanged, whereas negative numbers are converted to positive numbers.</paragraph>
+ <paragraph role="paragraph" id="par_id3153381" l10n="U" xml-lang="en-US" oldref="9">The following example uses the Abs function to calculate the difference between two values. It does not matter which value you enter first.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3148451" l10n="U" xml-lang="en-US" oldref="10">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3154124" l10n="U" xml-lang="en-US" oldref="11">Sub ExampleDifference</paragraph>
+ <paragraph role="paragraph" id="par_id3150768" l10n="U" xml-lang="en-US" oldref="12">Dim siW1 As Single</paragraph>
+ <paragraph role="paragraph" id="par_id3125864" l10n="U" xml-lang="en-US" oldref="13">Dim siW2 As Single</paragraph>
+ <paragraph role="paragraph" id="par_id3145786" l10n="U" xml-lang="en-US" oldref="14">siW1 = Int(InputBox$ (&quot;Please enter the first amount&quot;,&quot;Value input&quot;))</paragraph>
+ <paragraph role="paragraph" id="par_id3149561" l10n="U" xml-lang="en-US" oldref="15">siW2 = Int(InputBox$ (&quot;Please enter the second amount&quot;,&quot;Value input&quot;))</paragraph>
+ <paragraph role="paragraph" id="par_id3145750" l10n="U" xml-lang="en-US" oldref="16">Print &quot;The difference is &quot;; Abs(siW1 - siW2)</paragraph>
+ <paragraph role="paragraph" id="par_id3147319" l10n="U" xml-lang="en-US" oldref="17">End Sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03080700.xhp b/helpcontent2/source/text/sbasic/shared/03080700.xhp
new file mode 100755
index 0000000000..9b54c29edb
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03080700.xhp
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03080700xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Expression Signs</title>
+<filename>/text/sbasic/shared/03080700.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="vorzeichen">
+ <paragraph id="hd_id3150702" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03080700.xhp" name="Expression Signs">Expression Signs</link></paragraph>
+ <paragraph role="paragraph" id="par_id3148668" l10n="U" xml-lang="en-US" oldref="2">This function returns the algebraic sign of a numeric expression.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/03080701.xhp#sgn"/>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03080701.xhp b/helpcontent2/source/text/sbasic/shared/03080701.xhp
new file mode 100755
index 0000000000..08dd5273c4
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03080701.xhp
@@ -0,0 +1,125 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03080701xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Sgn Function [Runtime]</title>
+<filename>/text/sbasic/shared/03080701.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="sgn">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3148474"><bookmark_value>Sgn;function</bookmark_value></bookmark><paragraph id="hd_id3148474" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03080701.xhp" name="Sgn Function [Runtime]">Sgn Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3148686" l10n="U" xml-lang="en-US" oldref="2">Returns an integer number between -1 and 1 that indicates if the number that is passed to the function is positive, negative, or zero.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3156023" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3153897" l10n="U" xml-lang="en-US" oldref="4">Sgn (Number)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3145069" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3150359" l10n="U" xml-lang="en-US" oldref="6">Integer</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3150543" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3154365" xml-lang="en-US" oldref="8"><emph>Number:</emph> Numeric expression that determines the value that is returned by the function.</paragraph>
+ <table id="tbl_id3156281">
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3150767" l10n="U" xml-lang="en-US" oldref="9">NumExpression</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3150441" l10n="U" xml-lang="en-US" oldref="10">Return value</paragraph>
+ </tablecell>
+ </tablerow>
+
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3161833" l10n="U" xml-lang="en-US" oldref="11">negative</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3155306" l10n="U" xml-lang="en-US" oldref="12">Sgn returns -1.</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3145271" l10n="U" xml-lang="en-US" oldref="13">0</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3146119" l10n="U" xml-lang="en-US" oldref="14">Sgn returns 0.</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3153139" l10n="U" xml-lang="en-US" oldref="15">positive</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3154319" l10n="U" xml-lang="en-US" oldref="16">Sgn returns 1.</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3152576" l10n="U" xml-lang="en-US" oldref="17">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3154791" l10n="U" xml-lang="en-US" oldref="18">Sub ExampleSgn</paragraph>
+ <paragraph role="paragraph" id="par_id3155416" l10n="U" xml-lang="en-US" oldref="19">Print sgn(-10) REM returns -1</paragraph>
+ <paragraph role="paragraph" id="par_id3154096" l10n="U" xml-lang="en-US" oldref="20">Print sgn(0) REM returns 0</paragraph>
+ <paragraph role="paragraph" id="par_id3148457" l10n="U" xml-lang="en-US" oldref="21">Print sgn(10) REM returns 1</paragraph>
+ <paragraph role="paragraph" id="par_id3144765" l10n="U" xml-lang="en-US" oldref="22">end sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03080800.xhp b/helpcontent2/source/text/sbasic/shared/03080800.xhp
new file mode 100755
index 0000000000..4b2367921a
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03080800.xhp
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03080800xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Converting Numbers</title>
+<filename>/text/sbasic/shared/03080800.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="umwandeln">
+ <paragraph id="hd_id3145315" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03080800.xhp" name="Converting Numbers">Converting Numbers</link></paragraph>
+ <paragraph role="paragraph" id="par_id3154760" l10n="U" xml-lang="en-US" oldref="2">The following functions convert numbers from one number format to another.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/03080801.xhp#hex"/>
+ <embed href="text/sbasic/shared/03080802.xhp#oct"/>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03080801.xhp b/helpcontent2/source/text/sbasic/shared/03080801.xhp
new file mode 100755
index 0000000000..bd22da63a2
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03080801.xhp
@@ -0,0 +1,103 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03080801xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Hex Function [Runtime]</title>
+<filename>/text/sbasic/shared/03080801.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="hex">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3150616"><bookmark_value>Hex;function</bookmark_value></bookmark><paragraph id="hd_id3150616" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03080801.xhp" name="Hex Function [Runtime]">Hex Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3145136" l10n="U" xml-lang="en-US" oldref="2">Returns a string that represents the hexadecimal value of a number.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3147573" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3150771" l10n="U" xml-lang="en-US" oldref="4">Hex (Number)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3147530" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3159414" l10n="U" xml-lang="en-US" oldref="6">String</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3156344" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3148947" xml-lang="en-US" oldref="8"><emph>Number:</emph> Any numeric expression that you want to convert to a hexadecimal number.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3154365" l10n="U" xml-lang="en-US" oldref="9">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3145420" l10n="U" xml-lang="en-US" oldref="29">Sub ExampleHex</paragraph>
+ <paragraph role="paragraph" id="par_id3156214" l10n="U" xml-lang="en-US" oldref="30">REM uses BasicFormulas in $[officename] Calc</paragraph>
+ <paragraph role="paragraph" id="par_id3153970" l10n="U" xml-lang="en-US" oldref="31">Dim a2, b2, c2 as String</paragraph>
+ <paragraph role="paragraph" id="par_id3154909" l10n="U" xml-lang="en-US" oldref="32">a2 = &quot;&amp;H3E8&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3148674" l10n="U" xml-lang="en-US" oldref="33">b2 = Hex2Int(a2)</paragraph>
+ <paragraph role="paragraph" id="par_id3155132" l10n="U" xml-lang="en-US" oldref="34">MsgBox b2</paragraph>
+ <paragraph role="paragraph" id="par_id3150440" l10n="U" xml-lang="en-US" oldref="35">c2 = Int2Hex(b2)</paragraph>
+ <paragraph role="paragraph" id="par_id3147427" l10n="U" xml-lang="en-US" oldref="36">MsgBox c2</paragraph>
+ <paragraph role="paragraph" id="par_id3147435" l10n="U" xml-lang="en-US" oldref="37">End Sub</paragraph>
+
+ <paragraph role="paragraph" id="par_id3148645" l10n="U" xml-lang="en-US" oldref="19">Function Hex2Int( sHex As String ) As Long</paragraph>
+ <paragraph role="paragraph" id="par_id3149262" l10n="U" xml-lang="en-US" oldref="20">REM Returns a Long-Integer from a hexadecimal value.</paragraph>
+ <paragraph role="paragraph" id="par_id3148616" l10n="U" xml-lang="en-US" oldref="21">Hex2Int = clng( sHex )</paragraph>
+ <paragraph role="paragraph" id="par_id3153952" l10n="U" xml-lang="en-US" oldref="22">End Function</paragraph>
+
+ <paragraph role="paragraph" id="par_id3146984" l10n="U" xml-lang="en-US" oldref="24">Function Int2Hex( iLong As Long) As String</paragraph>
+ <paragraph role="paragraph" id="par_id3147215" l10n="U" xml-lang="en-US" oldref="25">REM Calculates a hexadecimal value in Integer.</paragraph>
+ <paragraph role="paragraph" id="par_id3148575" l10n="U" xml-lang="en-US" oldref="26">Int2Hex = &quot;&amp;H&quot; &amp; Hex( iLong )</paragraph>
+ <paragraph role="paragraph" id="par_id3151073" l10n="U" xml-lang="en-US" oldref="27">End Function</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03080802.xhp b/helpcontent2/source/text/sbasic/shared/03080802.xhp
new file mode 100755
index 0000000000..54545a8e3f
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03080802.xhp
@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03080802xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Oct Function [Runtime]</title>
+<filename>/text/sbasic/shared/03080802.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="oct">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3155420"><bookmark_value>Oct;function</bookmark_value></bookmark><paragraph id="hd_id3155420" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03080802.xhp" name="Oct Function [Runtime]">Oct Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3154924" l10n="U" xml-lang="en-US" oldref="2">Returns the octal value of a number.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3148947" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3150543" l10n="U" xml-lang="en-US" oldref="4">Oct (Number)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3153360" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3154138" l10n="U" xml-lang="en-US" oldref="6">String</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3156422" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150768" xml-lang="en-US" oldref="8"><emph>Number:</emph> Any numeric expression that you want to convert to an octal value.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3148672" l10n="U" xml-lang="en-US" oldref="9">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3147287" l10n="U" xml-lang="en-US" oldref="10">Sub ExampleOkt</paragraph>
+ <paragraph role="paragraph" id="par_id3161831" l10n="U" xml-lang="en-US" oldref="11">Msgbox Oct(255)</paragraph>
+ <paragraph role="paragraph" id="par_id3147318" l10n="U" xml-lang="en-US" oldref="12">end sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03090000.xhp b/helpcontent2/source/text/sbasic/shared/03090000.xhp
new file mode 100755
index 0000000000..e14d7e8f14
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03090000.xhp
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03090000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Controlling Program Execution</title>
+<filename>/text/sbasic/shared/03090000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="programmablauf">
+ <paragraph id="hd_id3145136" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03090000.xhp" name="Controlling Program Execution">Controlling Program Execution</link></paragraph>
+ <paragraph role="paragraph" id="par_id3143268" l10n="U" xml-lang="en-US" oldref="2">The following statements control the execution of a program.</paragraph>
+ </section>
+ <paragraph role="paragraph" id="par_id3156152" l10n="U" xml-lang="en-US" oldref="3">A program generally executes from the first line of code to the last line of code. You can also execute certain procedures within the program according to specific conditions, or repeat a section of the program within a sub-procedure or function. You can use loops to repeat parts of a program as many times as necessary, or until a certain condition is met. These type of control statements are classified as Condition, Loop, or Jump statements.</paragraph>
+ <embed href="text/sbasic/shared/03090100.xhp#entscheidung"/>
+ <embed href="text/sbasic/shared/03090200.xhp#schleifen"/>
+ <embed href="text/sbasic/shared/03090300.xhp#sprung"/>
+ <embed href="text/sbasic/shared/03090400.xhp#weitere"/>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03090100.xhp b/helpcontent2/source/text/sbasic/shared/03090100.xhp
new file mode 100755
index 0000000000..3579cc30cc
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03090100.xhp
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03090100xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Condition Statements</title>
+<filename>/text/sbasic/shared/03090100.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="entscheidung">
+ <paragraph id="hd_id3154422" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03090100.xhp" name="Condition Statements">Condition Statements</link></paragraph>
+ <paragraph role="paragraph" id="par_id3153750" l10n="U" xml-lang="en-US" oldref="2">The following statements are based on conditions.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/03090101.xhp#ifthenelse"/>
+ <embed href="text/sbasic/shared/03090102.xhp#selectcase"/>
+ <embed href="text/sbasic/shared/03090103.xhp#iif"/>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03090101.xhp b/helpcontent2/source/text/sbasic/shared/03090101.xhp
new file mode 100644
index 0000000000..3e9ef20984
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03090101.xhp
@@ -0,0 +1,103 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************-->
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03090101xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">If...Then...Else Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03090101.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="ifthenelse">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3154422"><bookmark_value>If;statement</bookmark_value></bookmark><paragraph id="hd_id3154422" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03090101.xhp" name="If...Then...Else Statement [Runtime]">If...Then...Else Statement [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3155555" l10n="U" xml-lang="en-US" oldref="2">Defines one or more statement blocks that you only want to execute if a given condition is True.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3146957" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3153126" l10n="U" xml-lang="en-US" oldref="4">If condition=true Then Statement block [ElseIf condition=true Then] Statement block [Else] Statement block End If</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3155419" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph xml-lang="en-US" oldref="6" l10n="U" role="paragraph" id="par_id3153062">The <emph>If...Then</emph> statement executes program blocks depending on given conditions. When $[officename] Basic encounters an <emph>If</emph> statement, the condition is tested. If the condition is True, all subsequent statements up to the next <emph>Else</emph> or <emph>ElseIf</emph> statement are executed. If the condition is False, and an <emph>ElseIf</emph> statement follows, $[officename] Basic tests the next condition and executes the following statements if the condition is True. If False, the program continues either with the next <emph>ElseIf</emph> or <emph>Else</emph> statement. Statements following <emph>Else</emph> are executed only if none of the previously tested conditions were True. After all conditions are evaluated, and the corresponding statements executed, the program continues with the statement following <emph>EndIf</emph>.</paragraph>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3153192" l10n="U" oldref="7">You can nest multiple <emph>If...Then</emph> statements.</paragraph>
+ <paragraph l10n="U" xml-lang="en-US" role="paragraph" id="par_id3154684" oldref="8"><emph>Else</emph> and <emph>ElseIf</emph> statements are optional.</paragraph>
+ <paragraph xml-lang="en-US" oldref="9" id="par_id3152939" l10n="U" role="warning">You can use <emph>GoTo</emph> and <emph>GoSub</emph> to jump out of an <emph>If...Then</emph> block, but not to jump into an <emph>If...Then</emph> structure.</paragraph>
+ <paragraph role="paragraph" id="par_id3153951" l10n="U" xml-lang="en-US" oldref="10">The following example enables you to enter the expiration date of a product, and determines if the expiration date has passed.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3152576" l10n="U" xml-lang="en-US" oldref="11">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3150011" l10n="U" xml-lang="en-US" oldref="12">Sub ExampleIfThenDate</paragraph>
+ <paragraph role="paragraph" id="par_id3148645" l10n="U" xml-lang="en-US" oldref="13">Dim sDate as String</paragraph>
+ <paragraph role="paragraph" id="par_id3155855" l10n="U" xml-lang="en-US" oldref="14">Dim sToday as String</paragraph>
+
+ <paragraph role="paragraph" id="par_id3154490" l10n="U" xml-lang="en-US" oldref="16">sDate = InputBox("Enter the expiration date (MM.DD.YYYY)")</paragraph>
+ <paragraph role="paragraph" id="par_id3154943" l10n="U" xml-lang="en-US" oldref="17">sDate = Right$(sDate, 4) + Mid$(sDate, 4, 2) + Left$(sDate, 2)</paragraph>
+ <paragraph role="paragraph" id="par_id3154098" l10n="U" xml-lang="en-US" oldref="18">sToday = Date$</paragraph>
+ <paragraph role="paragraph" id="par_id3144765" l10n="U" xml-lang="en-US" oldref="19">sToday = Right$(sToday, 4)+ Mid$(sToday, 4, 2) + Left$(sToday, 2)</paragraph>
+ <paragraph role="paragraph" id="par_id3154792" l10n="U" xml-lang="en-US" oldref="20">If sDate &lt; sToday Then</paragraph>
+ <paragraph role="paragraph" id="par_id3155601" l10n="U" xml-lang="en-US" oldref="21">MsgBox "The expiration date has passed"</paragraph>
+ <paragraph role="paragraph" id="par_id3146972" l10n="U" xml-lang="en-US" oldref="22">ElseIf sDate &gt; sToday Then</paragraph>
+ <paragraph role="paragraph" id="par_id3146912" l10n="U" xml-lang="en-US" oldref="23">MsgBox "The expiration date has not yet passed"</paragraph>
+ <paragraph role="paragraph" id="par_id3153710" l10n="U" xml-lang="en-US" oldref="24">Else</paragraph>
+ <paragraph role="paragraph" id="par_id3154754" l10n="U" xml-lang="en-US" oldref="25">MsgBox "The expiration date is today"</paragraph>
+ <paragraph role="paragraph" id="par_id3154361" l10n="U" xml-lang="en-US" oldref="26">End If</paragraph>
+
+ <paragraph role="paragraph" id="par_id3148405" l10n="U" xml-lang="en-US" oldref="28">End Sub</paragraph>
+
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03090102.xhp b/helpcontent2/source/text/sbasic/shared/03090102.xhp
new file mode 100755
index 0000000000..89ef3e09e8
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03090102.xhp
@@ -0,0 +1,94 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03090102xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Select...Case Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03090102.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="selectcase">
+ <bookmark branch="index" xml-lang="en-US" id="bm_id3149416"><bookmark_value>Select</bookmark_value><bookmark_value>Case</bookmark_value></bookmark><paragraph id="hd_id3149416" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03090102.xhp" name="Select...Case Statement [Runtime]">Select...Case Statement [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3153896" l10n="U" xml-lang="en-US" oldref="2">Defines one or more statement blocks depending on the value of an expression.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3147265" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3150400" l10n="U" xml-lang="en-US" oldref="4">Select Case condition Case expression Statement Block [Case expression2 Statement Block][Case Else] Statement Block End Select</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3150767" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3156281" xml-lang="en-US" oldref="6"><emph>Condition:</emph> Any expression that controls if the statement block that follows the respective Case clause is executed.</paragraph>
+ <paragraph l10n="U" xml-lang="en-US" oldref="7" role="paragraph" id="par_id3150448"><emph>Expression:</emph> Any expression that is compatible with the Condition type expression. The statement block that follows the Case clause is executed if <emph>Condition</emph> matches <emph>Expression</emph>.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3153768" l10n="U" xml-lang="en-US" oldref="8">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3150441" l10n="U" xml-lang="en-US" oldref="9">Sub ExampleRandomSelect</paragraph>
+ <paragraph role="paragraph" id="par_id3152462" l10n="U" xml-lang="en-US" oldref="10">Dim iVar As Integer</paragraph>
+ <paragraph role="paragraph" id="par_id3149260" l10n="U" xml-lang="en-US" oldref="11">iVar = Int((15 * Rnd) -2)</paragraph>
+ <paragraph role="paragraph" id="par_id3151113" l10n="U" xml-lang="en-US" oldref="12">Select Case iVar</paragraph>
+ <paragraph role="paragraph" id="par_id3149481" l10n="U" xml-lang="en-US" oldref="13">Case 1 To 5</paragraph>
+ <paragraph role="paragraph" id="par_id3152597" l10n="U" xml-lang="en-US" oldref="14">Print &quot;Number from 1 to 5&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3147428" l10n="U" xml-lang="en-US" oldref="15">Case 6, 7, 8</paragraph>
+ <paragraph role="paragraph" id="par_id3147349" l10n="U" xml-lang="en-US" oldref="16">Print &quot;Number from 6 to 8&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3153729" l10n="U" xml-lang="en-US" oldref="17">Case 8 To 10</paragraph>
+ <paragraph role="paragraph" id="par_id3152886" l10n="U" xml-lang="en-US" oldref="18">Print &quot;Greater than 8&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3155414" l10n="U" xml-lang="en-US" oldref="19">Case Else</paragraph>
+ <paragraph role="paragraph" id="par_id3146975" l10n="U" xml-lang="en-US" oldref="20">Print &quot;Out of range 1 to 10&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3150419" l10n="U" xml-lang="en-US" oldref="21">End Select</paragraph>
+ <paragraph role="paragraph" id="par_id3154943" l10n="U" xml-lang="en-US" oldref="22">end sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03090103.xhp b/helpcontent2/source/text/sbasic/shared/03090103.xhp
new file mode 100755
index 0000000000..c46da1ba59
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03090103.xhp
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03090103xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">IIf Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03090103.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="iif">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3155420"><bookmark_value>IIf;statement</bookmark_value></bookmark><paragraph id="hd_id3155420" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03090103.xhp" name="IIf Statement [Runtime]">IIf Statement [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3145610" l10n="U" xml-lang="en-US" oldref="2">Returns one of two possible function results, depending on the logical value of the evaluated expression.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3159413" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3147560" l10n="U" xml-lang="en-US" oldref="4">IIf (Expression, ExpressionTrue, ExpressionFalse)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3150541" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph l10n="U" xml-lang="en-US" role="paragraph" id="par_id3153381" oldref="6"><emph>Expression:</emph> Any expression that you want to evaluate. If the expression evaluates to <emph>True</emph>, the function returns the result of ExpressionTrue, otherwise it returns the result of ExpressionFalse.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150870" xml-lang="en-US" oldref="7"><emph>ExpressionTrue, ExpressionFalse:</emph> Any expression, one of which will be returned as the function result, depending on the logical evaluation.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03090200.xhp b/helpcontent2/source/text/sbasic/shared/03090200.xhp
new file mode 100755
index 0000000000..7641665697
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03090200.xhp
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03090200xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Loops</title>
+<filename>/text/sbasic/shared/03090200.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="schleifen">
+ <paragraph id="hd_id3153990" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03090200.xhp" name="Loops">Loops</link></paragraph>
+ <paragraph role="paragraph" id="par_id3147226" l10n="U" xml-lang="en-US" oldref="2">The following statements execute loops.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/03090201.xhp#doloop"/>
+ <embed href="text/sbasic/shared/03090202.xhp#fornext"/>
+ <embed href="text/sbasic/shared/03090203.xhp#whilewend"/>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03090201.xhp b/helpcontent2/source/text/sbasic/shared/03090201.xhp
new file mode 100755
index 0000000000..8af12a6850
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03090201.xhp
@@ -0,0 +1,126 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03090201xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Do...Loop Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03090201.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="doloop">
+ <bookmark branch="index" xml-lang="en-US" id="bm_id3156116"><bookmark_value>Do; statement</bookmark_value><bookmark_value>While; Do loop</bookmark_value><bookmark_value>Until</bookmark_value></bookmark><paragraph id="hd_id3156116" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03090201.xhp" name="Do...Loop Statement [Runtime]">Do...Loop Statement [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3109850" l10n="U" xml-lang="en-US" oldref="2">Repeats the statements between the Do and the Loop statement while the condition is True or until the condition becomes True.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3149119" l10n="U" xml-lang="en-US" oldref="3">Syntax</paragraph>
+ <paragraph role="paragraph" id="par_id3155150" l10n="U" xml-lang="en-US" oldref="4">Do [{While | Until} condition = True]</paragraph>
+ <paragraph role="paragraph" id="par_id3154422" l10n="U" xml-lang="en-US" oldref="5">statement block</paragraph>
+ <paragraph role="paragraph" id="par_id3150789" l10n="U" xml-lang="en-US" oldref="6">[Exit Do]</paragraph>
+ <paragraph role="paragraph" id="par_id3155805" l10n="U" xml-lang="en-US" oldref="7">statement block</paragraph>
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3145090"><bookmark_value>Loop</bookmark_value></bookmark><paragraph role="paragraph" id="par_id3145090" l10n="U" xml-lang="en-US" oldref="8">Loop</paragraph>
+ <paragraph role="paragraph" id="par_id3154749" l10n="U" xml-lang="en-US" oldref="9">or</paragraph>
+ <paragraph role="paragraph" id="par_id3150503" l10n="U" xml-lang="en-US" oldref="10">Do</paragraph>
+ <paragraph role="paragraph" id="par_id3149762" l10n="U" xml-lang="en-US" oldref="11">statement block</paragraph>
+ <paragraph role="paragraph" id="par_id3150984" l10n="U" xml-lang="en-US" oldref="12">[Exit Do]</paragraph>
+ <paragraph role="paragraph" id="par_id3143228" l10n="U" xml-lang="en-US" oldref="13">statement block</paragraph>
+ <paragraph role="paragraph" id="par_id3149235" l10n="U" xml-lang="en-US" oldref="14">Loop [{While | Until} condition = True]</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3156024" l10n="U" xml-lang="en-US" oldref="15">Parameters/Elements</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3156344" xml-lang="en-US" oldref="16"><emph>Condition:</emph> A comparison, numeric or string expression, that evaluates either True or False.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3149669" xml-lang="en-US" oldref="17"><emph>Statement block:</emph> Statements that you want to repeat while or until the condition is True.</paragraph>
+ <paragraph xml-lang="en-US" oldref="18" l10n="U" role="paragraph" id="par_id3150791">The <emph>Do...Loop</emph> statement executes a loop as long as, or until, a certain condition is True. The condition for exiting the loop must be entered following either the <emph>Do</emph> or the <emph>Loop</emph> statement. The following examples are valid combinations:</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3154366" l10n="U" xml-lang="en-US" oldref="19">Syntax</paragraph>
+ <paragraph role="paragraph" id="par_id3145171" l10n="U" xml-lang="en-US" oldref="20">Do While condition = True</paragraph>
+ <paragraph role="paragraph" id="par_id3149203" l10n="U" xml-lang="en-US" oldref="21">...statement block</paragraph>
+ <paragraph role="paragraph" id="par_id3125864" l10n="U" xml-lang="en-US" oldref="22">Loop</paragraph>
+ <paragraph role="paragraph" id="par_id3154124" l10n="U" xml-lang="en-US" oldref="24">The statement block between the Do While and the Loop statements is repeated so long as the condition is true.</paragraph>
+ <paragraph role="paragraph" id="par_id3153968" l10n="U" xml-lang="en-US" oldref="25">Do Until condition = True</paragraph>
+ <paragraph role="paragraph" id="par_id3154909" l10n="U" xml-lang="en-US" oldref="26">...statement block</paragraph>
+ <paragraph role="paragraph" id="par_id3159151" l10n="U" xml-lang="en-US" oldref="27">Loop</paragraph>
+ <paragraph role="paragraph" id="par_id3150440" l10n="U" xml-lang="en-US" oldref="29">The statement block between the Do Until and the Loop statements is repeated if the condition so long as the condition is false.</paragraph>
+ <paragraph role="paragraph" id="par_id3153952" l10n="U" xml-lang="en-US" oldref="30">Do</paragraph>
+ <paragraph role="paragraph" id="par_id3147349" l10n="U" xml-lang="en-US" oldref="31">...statement block</paragraph>
+ <paragraph role="paragraph" id="par_id3159153" l10n="U" xml-lang="en-US" oldref="32">Loop While condition = True</paragraph>
+ <paragraph role="paragraph" id="par_id3146985" l10n="U" xml-lang="en-US" oldref="34">The statement block between the Do and the Loop statements repeats so long as the condition is true.</paragraph>
+ <paragraph role="paragraph" id="par_id3150488" l10n="U" xml-lang="en-US" oldref="35">Do</paragraph>
+ <paragraph role="paragraph" id="par_id3153189" l10n="U" xml-lang="en-US" oldref="36">...statement block</paragraph>
+ <paragraph role="paragraph" id="par_id3155411" l10n="U" xml-lang="en-US" oldref="37">Loop Until condition = True</paragraph>
+ <paragraph role="paragraph" id="par_id3151117" l10n="U" xml-lang="en-US" oldref="39">The statement block between the Do and the Loop statements repeats until the condition is true.</paragraph>
+ <paragraph xml-lang="en-US" oldref="41" id="par_id3149484" l10n="U" role="paragraph">Use the <emph>Exit Do</emph> statement to unconditionally end the loop. You can add this statement anywhere in a <emph>Do</emph>...<emph>Loop</emph> statement. You can also define an exit condition using the <emph>If...Then</emph> structure as follows:</paragraph>
+ <paragraph role="paragraph" id="par_id3149262" l10n="U" xml-lang="en-US" oldref="42">Do...</paragraph>
+ <paragraph role="paragraph" id="par_id3149298" l10n="U" xml-lang="en-US" oldref="43">statements</paragraph>
+ <paragraph role="paragraph" id="par_id3145646" l10n="U" xml-lang="en-US" oldref="44">If condition = True Then Exit Do</paragraph>
+ <paragraph role="paragraph" id="par_id3154490" l10n="U" xml-lang="en-US" oldref="45">statements</paragraph>
+ <paragraph role="paragraph" id="par_id3153159" l10n="U" xml-lang="en-US" oldref="46">Loop...</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3147396" l10n="U" xml-lang="en-US" oldref="47">Example</paragraph>
+ <paragraph role="paragraph" id="par_id3144764" l10n="U" xml-lang="en-US" oldref="49">Sub ExampleDoLoop</paragraph>
+ <paragraph role="paragraph" id="par_id3154791" l10n="U" xml-lang="en-US" oldref="50">Dim sFile As String</paragraph>
+ <paragraph role="paragraph" id="par_id3149401" l10n="U" xml-lang="en-US" oldref="51">Dim sPath As String</paragraph>
+ <paragraph role="paragraph" id="par_id3155600" l10n="U" xml-lang="en-US" oldref="52">sPath = &quot;c:\&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3150717" l10n="U" xml-lang="en-US" oldref="53">sFile = Dir$( sPath ,22)</paragraph>
+ <paragraph role="paragraph" id="par_id3146898" l10n="U" xml-lang="en-US" oldref="54">If sFile &lt;&gt; &quot;&quot; Then</paragraph>
+ <paragraph role="paragraph" id="par_id3156333" l10n="U" xml-lang="en-US" oldref="55">Do</paragraph>
+ <paragraph role="paragraph" id="par_id3153947" l10n="U" xml-lang="en-US" oldref="56">MsgBox sFile</paragraph>
+ <paragraph role="paragraph" id="par_id3150327" l10n="U" xml-lang="en-US" oldref="57">sFile = Dir$</paragraph>
+ <paragraph role="paragraph" id="par_id3150749" l10n="U" xml-lang="en-US" oldref="58">Loop Until sFile = &quot;&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3153765" l10n="U" xml-lang="en-US" oldref="59">End If</paragraph>
+ <paragraph role="paragraph" id="par_id3148914" l10n="U" xml-lang="en-US" oldref="60">End Sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03090202.xhp b/helpcontent2/source/text/sbasic/shared/03090202.xhp
new file mode 100755
index 0000000000..cee0eec0b5
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03090202.xhp
@@ -0,0 +1,127 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03090202xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">For...Next Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03090202.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="fornext">
+ <bookmark id="bm_id3149205" branch="index" xml-lang="en-US"><bookmark_value>For;statement</bookmark_value><bookmark_value>To;statement</bookmark_value><bookmark_value>Step;statement</bookmark_value><bookmark_value>Next;statement</bookmark_value></bookmark><paragraph id="hd_id3149205" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03090202.xhp" name="For...Next Statement [Runtime]">For...Next Statement [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3143267" l10n="U" xml-lang="en-US" oldref="2">Repeats the statements between the For...Next block a specified number of times.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3156153" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3148473" l10n="U" xml-lang="en-US" oldref="4">For counter=start To end [Step step]</paragraph>
+ <paragraph role="paragraph" id="par_id3156024" l10n="U" xml-lang="en-US" oldref="5">statement block</paragraph>
+ <paragraph role="paragraph" id="par_id3146796" l10n="U" xml-lang="en-US" oldref="6">[Exit For]</paragraph>
+ <paragraph role="paragraph" id="par_id3159414" l10n="U" xml-lang="en-US" oldref="7">statement block</paragraph>
+ <paragraph role="paragraph" id="par_id3153897" l10n="U" xml-lang="en-US" oldref="8">Next [counter]</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3150400" l10n="U" xml-lang="en-US" oldref="9">Variables:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150358" xml-lang="en-US" oldref="10"><emph>Counter:</emph> Loop counter initially assigned the value to the right of the equal sign (start). Only numeric variables are valid. The loop counter increases or decreases according to the variable Step until End is passed.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3152455" xml-lang="en-US" oldref="11"><emph>Start:</emph> Numeric variable that defines the initial value at the beginning of the loop.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3151043" xml-lang="en-US" oldref="12"><emph>End:</emph> Numeric variable that defines the final value at the end of the loop.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3156281" xml-lang="en-US" oldref="13"><emph>Step:</emph> Sets the value by which to increase or decrease the loop counter. If Step is not specified, the loop counter is incremented by 1. In this case, End must be greater than Start. If you want to decrease Counter, End must be less than Start, and Step must be assigned a negative value.</paragraph>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3154684" l10n="U" oldref="14">The <emph>For...Next</emph> loop repeats all of the statements in the loop for the number of times that is specified by the parameters.</paragraph>
+ <paragraph role="paragraph" id="par_id3147287" l10n="U" xml-lang="en-US" oldref="15">As the counter variable is decreased, $[officename] Basic checks if the end value has been reached. As soon as the counter passes the end value, the loop automatically ends.</paragraph>
+ <paragraph xml-lang="en-US" oldref="16" id="par_id3159154" l10n="U" role="paragraph">It is possible to nest <emph>For...Next</emph> statements. If you do not specify a variable following the <emph>Next</emph> statement, <emph>Next</emph> automatically refers to the most recent <emph>For</emph> statement.</paragraph>
+ <paragraph xml-lang="en-US" oldref="17" role="paragraph" id="par_id3155306" l10n="U">If you specify an increment of 0, the statements between <emph>For</emph> and <emph>Next</emph> are repeated continuously.</paragraph>
+ <paragraph role="paragraph" id="par_id3155854" l10n="U" xml-lang="en-US" oldref="18">When counting down the counter variable, $[officename] Basic checks for overflow or underflow. The loop ends when Counter exceeds End (positive Step value) or is less than End (negative Step value).</paragraph>
+ <paragraph xml-lang="en-US" oldref="19" l10n="U" role="paragraph" id="par_id3145273">Use the <emph>Exit For</emph> statement to exit the loop unconditionally. This statement must be within a <emph>For...Next</emph> loop. Use the <emph>If...Then</emph> statement to test the exit condition as follows:</paragraph>
+ <paragraph role="paragraph" id="par_id3153190" l10n="U" xml-lang="en-US" oldref="20">For...</paragraph>
+ <paragraph role="paragraph" id="par_id3149482" l10n="U" xml-lang="en-US" oldref="21">statements</paragraph>
+ <paragraph role="paragraph" id="par_id3147124" l10n="U" xml-lang="en-US" oldref="22">If condition = True Then Exit For</paragraph>
+ <paragraph role="paragraph" id="par_id3153159" l10n="U" xml-lang="en-US" oldref="23">statements</paragraph>
+ <paragraph role="paragraph" id="par_id3154096" l10n="U" xml-lang="en-US" oldref="24">Next</paragraph>
+ <paragraph xml-lang="en-US" oldref="25" role="paragraph" id="par_id3156286" l10n="U">Note: In nested <emph>For...Next</emph> loops, if you exit a loop unconditionally with <emph>Exit For</emph>, only one loop is exited.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3148457" l10n="U" xml-lang="en-US" oldref="26">Example</paragraph>
+ <paragraph role="paragraph" id="par_id3151074" l10n="U" xml-lang="en-US" oldref="27">The following example uses two nested loops to sort a string array with 10 elements ( sEntry() ), that are first filled with various contents:</paragraph>
+ <paragraph role="paragraph" id="par_id3155603" l10n="U" xml-lang="en-US" oldref="28">Sub ExampleSort</paragraph>
+ <paragraph role="paragraph" id="par_id3156275" l10n="U" xml-lang="en-US" oldref="29">Dim sEntry(9) As String</paragraph>
+ <paragraph role="paragraph" id="par_id3155066" l10n="U" xml-lang="en-US" oldref="30">Dim iCount As Integer</paragraph>
+ <paragraph role="paragraph" id="par_id3150751" l10n="U" xml-lang="en-US" oldref="31">Dim iCount2 As Integer</paragraph>
+ <paragraph role="paragraph" id="par_id3155446" l10n="U" xml-lang="en-US" oldref="32">Dim sTemp As String</paragraph>
+ <paragraph role="paragraph" id="par_id3155767" l10n="U" xml-lang="en-US" oldref="42">sEntry(0) = &quot;Jerry&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3153711" l10n="U" xml-lang="en-US" oldref="33">sEntry(1) = &quot;Patty&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3148993" l10n="U" xml-lang="en-US" oldref="34">sEntry(2) = &quot;Kurt&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3156382" l10n="U" xml-lang="en-US" oldref="35">sEntry(3) = &quot;Thomas&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3155174" l10n="U" xml-lang="en-US" oldref="36">sEntry(4) = &quot;Michael&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3166448" l10n="U" xml-lang="en-US" oldref="37">sEntry(5) = &quot;David&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3149255" l10n="U" xml-lang="en-US" oldref="38">sEntry(6) = &quot;Cathy&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3149565" l10n="U" xml-lang="en-US" oldref="39">sEntry(7) = &quot;Susie&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3145148" l10n="U" xml-lang="en-US" oldref="40">sEntry(8) = &quot;Edward&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3145229" l10n="U" xml-lang="en-US" oldref="41">sEntry(9) = &quot;Christine&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3149107" l10n="U" xml-lang="en-US" oldref="44">For iCount = 0 To 9</paragraph>
+ <paragraph role="paragraph" id="par_id3148485" l10n="U" xml-lang="en-US" oldref="45">For iCount2 = iCount + 1 To 9</paragraph>
+ <paragraph role="paragraph" id="par_id3155608" l10n="U" xml-lang="en-US" oldref="46">If sEntry(iCount) &gt; sEntry(iCount2) Then</paragraph>
+ <paragraph role="paragraph" id="par_id3150938" l10n="U" xml-lang="en-US" oldref="47">sTemp = sEntry(iCount)</paragraph>
+ <paragraph role="paragraph" id="par_id3153790" l10n="U" xml-lang="en-US" oldref="48">sEntry(iCount) = sEntry(iCount2)</paragraph>
+ <paragraph role="paragraph" id="par_id3149210" l10n="U" xml-lang="en-US" oldref="49">sEntry(iCount2) = sTemp</paragraph>
+ <paragraph role="paragraph" id="par_id3153781" l10n="U" xml-lang="en-US" oldref="50">End If</paragraph>
+ <paragraph role="paragraph" id="par_id3158446" l10n="U" xml-lang="en-US" oldref="51">Next iCount2</paragraph>
+ <paragraph role="paragraph" id="par_id3150783" l10n="U" xml-lang="en-US" oldref="52">Next iCount</paragraph>
+ <paragraph role="paragraph" id="par_id3151278" l10n="U" xml-lang="en-US" oldref="57">For iCount = 0 To 9</paragraph>
+ <paragraph role="paragraph" id="par_id3148462" l10n="U" xml-lang="en-US" oldref="58">Print sEntry(iCount)</paragraph>
+ <paragraph role="paragraph" id="par_id3149528" l10n="U" xml-lang="en-US" oldref="59">Next iCount</paragraph>
+ <paragraph role="paragraph" id="par_id3152580" l10n="U" xml-lang="en-US" oldref="60">End Sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03090203.xhp b/helpcontent2/source/text/sbasic/shared/03090203.xhp
new file mode 100755
index 0000000000..769401ecfa
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03090203.xhp
@@ -0,0 +1,90 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03090203xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">While...Wend Statement[Runtime]</title>
+<filename>/text/sbasic/shared/03090203.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="whilewend">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3150400"><bookmark_value>While;While...Wend loop</bookmark_value></bookmark><paragraph id="hd_id3150400" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03090203.xhp" name="While...Wend Statement[Runtime]">While...Wend Statement[Runtime]</link></paragraph>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3151211" l10n="U" oldref="2">When a program encounters a While statement, it tests the condition. If the condition is False, the program continues directly following the Wend statement. If the condition is True, the loop is executed until the program finds Wend and then jumps back to the<emph> While </emph>statement. If the condition is still True, the loop is executed again.</paragraph>
+ </section>
+ <paragraph xml-lang="en-US" oldref="3" id="par_id3151041" l10n="U" role="paragraph">Unlike the <link href="text/sbasic/shared/03090201.xhp" name="Do...Loop">Do...Loop</link> statement, you cannot cancel a <emph>While...Wend</emph> loop with <link href="text/sbasic/shared/03090412.xhp" name="Exit">Exit</link>. Never exit a While...Wend loop with <link href="text/sbasic/shared/03090302.xhp" name="GoTo">GoTo</link>, since this can cause a run-time error.</paragraph>
+ <paragraph role="paragraph" id="par_id3145172" l10n="U" xml-lang="en-US" oldref="4">A Do...Loop is more flexible than a While...Wend.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3155133" l10n="U" xml-lang="en-US" oldref="5">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3147288" l10n="U" xml-lang="en-US" oldref="6">While Condition [Statement] Wend</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3153139" l10n="U" xml-lang="en-US" oldref="7">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3159153" l10n="U" xml-lang="en-US" oldref="8">Sub ExampleWhileWend</paragraph>
+ <paragraph role="paragraph" id="par_id3151114" l10n="U" xml-lang="en-US" oldref="9">Dim stext As String</paragraph>
+ <paragraph role="paragraph" id="par_id3153143" l10n="U" xml-lang="en-US" oldref="10">Dim iRun As Integer</paragraph>
+ <paragraph role="paragraph" id="par_id3155306" l10n="U" xml-lang="en-US" oldref="11">sText =&quot;This is a short text&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3154011" l10n="U" xml-lang="en-US" oldref="12">iRun = 1</paragraph>
+ <paragraph role="paragraph" id="par_id3147215" l10n="U" xml-lang="en-US" oldref="13">while iRun &lt; Len(sText)</paragraph>
+ <paragraph role="paragraph" id="par_id3147427" l10n="U" xml-lang="en-US" oldref="14">if Mid(sText,iRun,1 )&lt;&gt; &quot; &quot; then Mid( sText ,iRun, 1, Chr( 1 + Asc( Mid(sText,iRun,1 )) )</paragraph>
+ <paragraph role="paragraph" id="par_id3149665" l10n="U" xml-lang="en-US" oldref="15">iRun = iRun + 1</paragraph>
+ <paragraph role="paragraph" id="par_id3152939" l10n="U" xml-lang="en-US" oldref="16">Wend</paragraph>
+ <paragraph role="paragraph" id="par_id3153189" l10n="U" xml-lang="en-US" oldref="17">MsgBox sText,0,&quot;Text encoded&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3145251" l10n="U" xml-lang="en-US" oldref="18">end sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03090300.xhp b/helpcontent2/source/text/sbasic/shared/03090300.xhp
new file mode 100755
index 0000000000..41d893cdbd
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03090300.xhp
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03090300xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Jumps</title>
+<filename>/text/sbasic/shared/03090300.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="sprung">
+ <paragraph id="hd_id3151262" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03090300.xhp" name="Jumps">Jumps</link></paragraph>
+ <paragraph role="paragraph" id="par_id3148983" l10n="U" xml-lang="en-US" oldref="2">The following statements execute jumps.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/03090301.xhp#gosubreturn"/>
+ <embed href="text/sbasic/shared/03090302.xhp#goto"/>
+ <embed href="text/sbasic/shared/03090303.xhp#ongosub"/>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03090301.xhp b/helpcontent2/source/text/sbasic/shared/03090301.xhp
new file mode 100644
index 0000000000..191b0f7f35
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03090301.xhp
@@ -0,0 +1,111 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************-->
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03090301xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">GoSub...Return Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03090301.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="gosubreturn">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3147242"><bookmark_value>GoSub...Return;statement</bookmark_value></bookmark><paragraph id="hd_id3147242" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03090301.xhp" name="GoSub...Return Statement [Runtime]">GoSub...Return Statement [Runtime]</link></paragraph>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3145316" l10n="U" oldref="2">Calls a subroutine that is indicated by a label from a subroutine or a function. The statements following the label are executed until the next Return statement. Afterwards, the program continues with the statement that follows the <emph>GoSub </emph>statement.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3145609" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3145069" l10n="U" xml-lang="en-US" oldref="4">see Parameters</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3147265" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph role="paragraph" id="par_id3148664" l10n="U" xml-lang="en-US" oldref="6">Sub/Function</paragraph>
+ <paragraph role="paragraph" id="par_id3150400" l10n="U" xml-lang="en-US" oldref="7">statement block</paragraph>
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3154140"><bookmark_value>GoSub</bookmark_value></bookmark><paragraph role="paragraph" id="par_id3154140" l10n="U" xml-lang="en-US" oldref="8"> Label</paragraph>
+ <paragraph role="paragraph" id="par_id3150869" l10n="U" xml-lang="en-US" oldref="9">statement block</paragraph>
+ <paragraph role="paragraph" id="par_id3154909" l10n="U" xml-lang="en-US" oldref="10">GoSub Label</paragraph>
+ <paragraph role="paragraph" id="par_id3153969" l10n="U" xml-lang="en-US" oldref="11">Exit Sub/Function</paragraph>
+ <paragraph role="paragraph" id="par_id3154685" l10n="U" xml-lang="en-US" oldref="12">Label:</paragraph>
+ <paragraph role="paragraph" id="par_id3145786" l10n="U" xml-lang="en-US" oldref="13">statement block</paragraph>
+ <paragraph role="paragraph" id="par_id3159252" l10n="U" xml-lang="en-US" oldref="14">Return</paragraph>
+ <paragraph role="paragraph" id="par_id3154321" l10n="U" xml-lang="en-US" oldref="15">End Sub/Function</paragraph>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3147318" l10n="U" oldref="16">The <emph>GoSub</emph> statement calls a local subroutine indicated by a label from within a subroutine or a function. The name of the label must end with a colon (":").</paragraph>
+ <paragraph xml-lang="en-US" oldref="17" l10n="U" role="warning" id="par_id3153190">If the program encounters a Return statement not preceded by <emph>GoSub</emph>, $[officename] Basic returns an error message. Use <emph> Exit Sub</emph> or <emph>Exit Function</emph> to ensure that the program leaves a Sub or Function before reaching the next Return statement.</paragraph>
+ <paragraph xml-lang="en-US" oldref="19" role="paragraph" id="par_id3145799" l10n="U">The following example demonstrates the use of <emph>GoSub</emph> and <emph>Return</emph>. By executing a program section twice, the program calculates the square root of two numbers that are entered by the user.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3156284" l10n="U" xml-lang="en-US" oldref="20">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3151073" l10n="U" xml-lang="en-US" oldref="21">Sub ExampleGoSub</paragraph>
+ <paragraph role="paragraph" id="par_id3154097" l10n="U" xml-lang="en-US" oldref="22">dim iInputa as Single</paragraph>
+ <paragraph role="paragraph" id="par_id3150715" l10n="U" xml-lang="en-US" oldref="23">dim iInputb as Single</paragraph>
+ <paragraph role="paragraph" id="par_id3153416" l10n="U" xml-lang="en-US" oldref="24">dim iInputc as Single</paragraph>
+ <paragraph role="paragraph" id="par_id3146970" l10n="U" xml-lang="en-US" oldref="25">iInputa = Int(InputBox$ "Enter the first number: ","NumberInput"))</paragraph>
+ <paragraph role="paragraph" id="par_id3150329" l10n="U" xml-lang="en-US" oldref="26">iInputb = Int(InputBox$ "Enter the second number: ","NumberInput"))</paragraph>
+ <paragraph role="paragraph" id="par_id3156277" l10n="U" xml-lang="en-US" oldref="27">iInputc=iInputa</paragraph>
+ <paragraph role="paragraph" id="par_id3150321" l10n="U" xml-lang="en-US" oldref="28">GoSub SquareRoot</paragraph>
+ <paragraph role="paragraph" id="par_id3154756" l10n="U" xml-lang="en-US" oldref="29">Print "The square root of";iInputa;" is";iInputc</paragraph>
+ <paragraph role="paragraph" id="par_id3155764" l10n="U" xml-lang="en-US" oldref="30">iInputc=iInputb</paragraph>
+ <paragraph role="paragraph" id="par_id3152960" l10n="U" xml-lang="en-US" oldref="31">GoSub SquareRoot</paragraph>
+ <paragraph role="paragraph" id="par_id3147340" l10n="U" xml-lang="en-US" oldref="32">Print "The square root of";iInputb;" is";iInputc</paragraph>
+ <paragraph role="paragraph" id="par_id3166450" l10n="U" xml-lang="en-US" oldref="33">Exit Sub</paragraph>
+ <paragraph role="paragraph" id="par_id3155176" l10n="U" xml-lang="en-US" oldref="34">SquareRoot:</paragraph>
+ <paragraph role="paragraph" id="par_id3149257" l10n="U" xml-lang="en-US" oldref="35">iInputc=sqr(iInputc)</paragraph>
+ <paragraph role="paragraph" id="par_id3146316" l10n="U" xml-lang="en-US" oldref="36">Return</paragraph>
+ <paragraph role="paragraph" id="par_id3154703" l10n="U" xml-lang="en-US" oldref="37">End Sub</paragraph>
+
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03090302.xhp b/helpcontent2/source/text/sbasic/shared/03090302.xhp
new file mode 100644
index 0000000000..4af992de06
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03090302.xhp
@@ -0,0 +1,111 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************-->
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03090302xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">GoTo Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03090302.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="goto">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3159413"><bookmark_value>GoTo;statement</bookmark_value></bookmark><paragraph id="hd_id3159413" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03090302.xhp" name="GoTo Statement [Runtime]">GoTo Statement [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3153379" l10n="U" xml-lang="en-US" oldref="2">Continues program execution within a Sub or Function at the procedure line indicated by a label.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3149656" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3154367" l10n="U" xml-lang="en-US" oldref="4">see Parameters</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3150870" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph role="paragraph" id="par_id3156214" l10n="U" xml-lang="en-US" oldref="6">Sub/Function</paragraph>
+ <paragraph role="paragraph" id="par_id3156424" l10n="U" xml-lang="en-US" oldref="7">statement block</paragraph>
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3154685"><bookmark_value>GoTo</bookmark_value></bookmark><paragraph role="paragraph" id="par_id3154685" l10n="U" xml-lang="en-US" oldref="8"> Label1</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3145786" xml-lang="en-US" oldref="9"><emph>Label2:</emph></paragraph>
+ <paragraph role="paragraph" id="par_id3161832" l10n="U" xml-lang="en-US" oldref="10">statement block</paragraph>
+ <paragraph role="paragraph" id="par_id3146120" l10n="U" xml-lang="en-US" oldref="11">Exit Sub</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150010" xml-lang="en-US" oldref="12"><emph>Label1:</emph></paragraph>
+ <paragraph role="paragraph" id="par_id3152462" l10n="U" xml-lang="en-US" oldref="13">statement block</paragraph>
+ <paragraph role="paragraph" id="par_id3149664" l10n="U" xml-lang="en-US" oldref="14">GoTo Label2</paragraph>
+ <paragraph role="paragraph" id="par_id3152886" l10n="U" xml-lang="en-US" oldref="15">End Sub/Function</paragraph>
+ <paragraph role="paragraph" id="par_id3152596" l10n="U" xml-lang="en-US" oldref="16">Use the GoTo statement to instruct $[officename] Basic to continue program execution at another place within the procedure. The position must be indicated by a label. To set a label, assign a name, and then and end it with a colon (":").</paragraph>
+ <paragraph role="warning" id="par_id3155416" l10n="U" xml-lang="en-US" oldref="17">You cannot use the GoTo statement to jump out of a Sub or Function.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3154731" l10n="U" xml-lang="en-US" oldref="19">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3145646" l10n="U" xml-lang="en-US" oldref="20">Sub ExampleOnGosub</paragraph>
+ <paragraph role="paragraph" id="par_id3153510" l10n="U" xml-lang="en-US" oldref="21">Dim iVar As Integer</paragraph>
+ <paragraph role="paragraph" id="par_id3154511" l10n="U" xml-lang="en-US" oldref="22">Dim sVar As String</paragraph>
+ <paragraph role="paragraph" id="par_id3149121" l10n="U" xml-lang="en-US" oldref="23">iVar = 2</paragraph>
+ <paragraph role="paragraph" id="par_id3146971" l10n="U" xml-lang="en-US" oldref="24">sVar =""</paragraph>
+ <paragraph role="paragraph" id="par_id3155064" l10n="U" xml-lang="en-US" oldref="25">On iVar GoSub Sub1, Sub2</paragraph>
+ <paragraph role="paragraph" id="par_id3156276" l10n="U" xml-lang="en-US" oldref="26">On iVar GoTo Line1, Line2</paragraph>
+ <paragraph role="paragraph" id="par_id3149018" l10n="U" xml-lang="en-US" oldref="27">Exit Sub</paragraph>
+ <paragraph role="paragraph" id="par_id3148405" l10n="U" xml-lang="en-US" oldref="28">Sub1:</paragraph>
+ <paragraph role="paragraph" id="par_id3148914" l10n="U" xml-lang="en-US" oldref="29">sVar =sVar &amp; " From Sub 1 to" : Return</paragraph>
+ <paragraph role="paragraph" id="par_id3153713" l10n="U" xml-lang="en-US" oldref="30">Sub2:</paragraph>
+ <paragraph role="paragraph" id="par_id3156384" l10n="U" xml-lang="en-US" oldref="31">sVar =sVar &amp; " From Sub 2 to" : Return</paragraph>
+ <paragraph role="paragraph" id="par_id3166447" l10n="U" xml-lang="en-US" oldref="32">Line1:</paragraph>
+ <paragraph role="paragraph" id="par_id3147363" l10n="U" xml-lang="en-US" oldref="33">sVar =sVar &amp; " Label 1"</paragraph>
+ <paragraph role="paragraph" id="par_id3155335" l10n="U" xml-lang="en-US" oldref="34">Line2:</paragraph>
+ <paragraph role="paragraph" id="par_id3149257" l10n="U" xml-lang="en-US" oldref="35">sVar =sVar &amp; " Label 2"</paragraph>
+ <paragraph role="paragraph" id="par_id3147345" l10n="U" xml-lang="en-US" oldref="36">Print sVar</paragraph>
+ <paragraph role="paragraph" id="par_id3154704" l10n="U" xml-lang="en-US" oldref="37">End Sub</paragraph>
+
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03090303.xhp b/helpcontent2/source/text/sbasic/shared/03090303.xhp
new file mode 100644
index 0000000000..443582c538
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03090303.xhp
@@ -0,0 +1,104 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************-->
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03090303xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">On...GoSub Statement; On...GoTo Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03090303.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="ongosub">
+ <bookmark branch="index" xml-lang="en-US" id="bm_id3153897"><bookmark_value>On...GoSub;statement</bookmark_value><bookmark_value>On...GoTo;statement</bookmark_value></bookmark><paragraph id="hd_id3153897" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03090303.xhp" name="On...GoSub Statement; On...GoTo Statement [Runtime]">On...GoSub Statement; On...GoTo Statement [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3150359" l10n="U" xml-lang="en-US" oldref="2">Branches to one of several specified lines in the program code, depending on the value of a numeric expression.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3148798" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3154366" l10n="U" xml-lang="en-US" oldref="4">On N GoSub Label1[, Label2[, Label3[,...]]]</paragraph>
+ <paragraph role="paragraph" id="par_id3150769" l10n="U" xml-lang="en-US" oldref="5">On NumExpression GoTo Label1[, Label2[, Label3[,...]]]</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3156215" l10n="U" xml-lang="en-US" oldref="6">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3148673" xml-lang="en-US" oldref="7"><emph>NumExpression:</emph> Any numeric expression between 0 and 255 that determines which of the lines the program branches to. If NumExpression is 0, the statement is not executed. If NumExpression is greater than 0, the program jumps to the label that has a position number that corresponds to the expression (1 = First label; 2 = Second label)</paragraph>
+ <paragraph l10n="U" xml-lang="en-US" oldref="8" role="paragraph" id="par_id3153194"><emph>Label:</emph> Target line according to<emph> GoTo </emph>or <emph>GoSub</emph> structure.</paragraph>
+ <paragraph xml-lang="en-US" oldref="9" role="note" id="par_id3156442" l10n="U">The <emph>GoTo</emph> or <emph>GoSub </emph>conventions are valid.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3148645" l10n="U" xml-lang="en-US" oldref="10">Example:</paragraph>
+
+ <paragraph role="paragraph" id="par_id3154014" l10n="U" xml-lang="en-US" oldref="12">Sub ExampleOnGosub</paragraph>
+ <paragraph role="paragraph" id="par_id3153158" l10n="U" xml-lang="en-US" oldref="13">Dim iVar As Integer</paragraph>
+ <paragraph role="paragraph" id="par_id3154490" l10n="U" xml-lang="en-US" oldref="14">Dim sVar As String</paragraph>
+ <paragraph role="paragraph" id="par_id3155417" l10n="U" xml-lang="en-US" oldref="15">iVar = 2</paragraph>
+ <paragraph role="paragraph" id="par_id3154730" l10n="U" xml-lang="en-US" oldref="16">sVar =""</paragraph>
+ <paragraph role="paragraph" id="par_id3154942" l10n="U" xml-lang="en-US" oldref="17">On iVar GoSub Sub1, Sub2</paragraph>
+ <paragraph role="paragraph" id="par_id3149378" l10n="U" xml-lang="en-US" oldref="18">On iVar GoTo Line1, Line2</paragraph>
+ <paragraph role="paragraph" id="par_id3153416" l10n="U" xml-lang="en-US" oldref="19">Exit Sub</paragraph>
+ <paragraph role="paragraph" id="par_id3154015" l10n="U" xml-lang="en-US" oldref="20">Sub1:</paragraph>
+ <paragraph role="paragraph" id="par_id3153948" l10n="U" xml-lang="en-US" oldref="21">sVar =sVar &amp; " From Sub 1 to" : Return</paragraph>
+ <paragraph role="paragraph" id="par_id3150750" l10n="U" xml-lang="en-US" oldref="22">Sub2:</paragraph>
+ <paragraph role="paragraph" id="par_id3153708" l10n="U" xml-lang="en-US" oldref="23">sVar =sVar &amp; " From Sub 2 to" : Return</paragraph>
+ <paragraph role="paragraph" id="par_id3155067" l10n="U" xml-lang="en-US" oldref="24">Line1:</paragraph>
+ <paragraph role="paragraph" id="par_id3150321" l10n="U" xml-lang="en-US" oldref="25">sVar =sVar &amp; " Label 1" : GoTo Ende</paragraph>
+ <paragraph role="paragraph" id="par_id3149019" l10n="U" xml-lang="en-US" oldref="26">Line2:</paragraph>
+ <paragraph role="paragraph" id="par_id3155764" l10n="U" xml-lang="en-US" oldref="27">sVar =sVar &amp; " Label 2"</paragraph>
+ <paragraph role="paragraph" id="par_id3153711" l10n="U" xml-lang="en-US" oldref="28">Ende:</paragraph>
+ <paragraph role="paragraph" id="par_id3154253" l10n="U" xml-lang="en-US" oldref="29">MsgBox sVar,0,"On...Gosub"</paragraph>
+ <paragraph role="paragraph" id="par_id3149565" l10n="U" xml-lang="en-US" oldref="30">End Sub</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03090400.xhp b/helpcontent2/source/text/sbasic/shared/03090400.xhp
new file mode 100755
index 0000000000..194e17e8dd
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03090400.xhp
@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03090400xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Further Statements</title>
+<filename>/text/sbasic/shared/03090400.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="weitere">
+ <paragraph id="hd_id3145316" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03090400.xhp" name="Further Statements">Further Statements</link></paragraph>
+ <paragraph role="paragraph" id="par_id3154923" l10n="U" xml-lang="en-US" oldref="2">Statements that do not belong to any of the other runtime categories are described here.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/03090401.xhp#call"/>
+ <embed href="text/sbasic/shared/03090402.xhp#choose"/>
+ <embed href="text/sbasic/shared/03090403.xhp#declare"/>
+ <embed href="text/sbasic/shared/03090404.xhp#end"/>
+ <embed href="text/sbasic/shared/03090412.xhp#exit"/>
+ <embed href="text/sbasic/shared/03090405.xhp#freelibrary"/>
+ <embed href="text/sbasic/shared/03090406.xhp#function"/>
+ <embed href="text/sbasic/shared/03090407.xhp#rem"/>
+ <embed href="text/sbasic/shared/03090408.xhp#stop"/>
+ <embed href="text/sbasic/shared/03090409.xhp#sub"/>
+ <embed href="text/sbasic/shared/03090410.xhp#switch"/>
+ <embed href="text/sbasic/shared/03090411.xhp#with"/>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03090401.xhp b/helpcontent2/source/text/sbasic/shared/03090401.xhp
new file mode 100644
index 0000000000..afe9cbb33c
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03090401.xhp
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************-->
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03090401xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Call Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03090401.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="call">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3154422"><bookmark_value>Call;statement</bookmark_value></bookmark><paragraph id="hd_id3154422" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03090401.xhp" name="Call Statement [Runtime]">Call Statement [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3153394" l10n="U" xml-lang="en-US" oldref="2">Transfers the control of the program to a subroutine, a function, or a DLL procedure.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3153345" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3150984" l10n="U" xml-lang="en-US" oldref="4">[Call] Name [Parameter]</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3150771" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3148473" xml-lang="en-US" oldref="6"><emph>Name:</emph> Name of the subroutine, the function, or the DLL that you want to call</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3148946" xml-lang="en-US" oldref="7"><emph>Parameter:</emph> Parameters to pass to the procedure. The type and number of parameters is dependent on the routine that is executing.</paragraph>
+ <paragraph xml-lang="en-US" role="note" id="par_id3154216" l10n="U" oldref="8">A keyword is optional when you call a procedure. If a function is executed as an expression, the parameters must be enclosed by brackets in the statement. If a DLL is called, it must first be specified in the <emph>Declare-Statement</emph>.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3125865" l10n="U" xml-lang="en-US" oldref="9">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3159254" l10n="U" xml-lang="en-US" oldref="12">Sub ExampleCall</paragraph>
+ <paragraph role="paragraph" id="par_id3161832" l10n="U" xml-lang="en-US" oldref="13">Dim sVar As String</paragraph>
+ <paragraph role="paragraph" id="par_id3147317" l10n="U" xml-lang="en-US" oldref="14">sVar = "Office"</paragraph>
+ <paragraph role="paragraph" id="par_id3145273" l10n="U" xml-lang="en-US" oldref="15">Call f_callFun sVar</paragraph>
+ <paragraph role="paragraph" id="par_id3147435" l10n="U" xml-lang="en-US" oldref="16">end Sub</paragraph>
+
+ <paragraph role="paragraph" id="par_id3155414" l10n="U" xml-lang="en-US" oldref="18">Sub f_callFun (sText as String)</paragraph>
+ <paragraph role="paragraph" id="par_id3151112" l10n="U" xml-lang="en-US" oldref="19">Msgbox sText</paragraph>
+ <paragraph role="paragraph" id="par_id3148646" l10n="U" xml-lang="en-US" oldref="20">end sub</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03090402.xhp b/helpcontent2/source/text/sbasic/shared/03090402.xhp
new file mode 100755
index 0000000000..f90baab7c2
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03090402.xhp
@@ -0,0 +1,95 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03090402xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Choose Function [Runtime]</title>
+<filename>/text/sbasic/shared/03090402.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="choose">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3143271"><bookmark_value>Choose;function</bookmark_value></bookmark><paragraph id="hd_id3143271" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03090402.xhp" name="Choose Function [Runtime]">Choose Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3149234" l10n="U" xml-lang="en-US" oldref="2">Returns a selected value from a list of arguments.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3148943" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3147560" l10n="U" xml-lang="en-US" oldref="4">Choose (Index, Selection1[, Selection2, ... [,Selection_n]])</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3154346" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3148664" xml-lang="en-US" oldref="6"><emph>Index:</emph> A numeric expression that specifies the value to return.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150791" xml-lang="en-US" oldref="7"><emph>Selection1:</emph> Any expression that contains one of the possible choices.</paragraph>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3151043" l10n="U" oldref="8">The <emph>Choose</emph> function returns a value from the list of expressions based on the index value. If Index = 1, the function returns the first expression in the list, if index i= 2, it returns the second expression, and so on.</paragraph>
+ <paragraph role="paragraph" id="par_id3153192" l10n="U" xml-lang="en-US" oldref="9">If the index value is less than 1 or greater than the number of expressions listed, the function returns a Null value.</paragraph>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3156281" l10n="U" oldref="10">The following example uses the <emph>Choose</emph> function to select a string from several strings that form a menu:</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3150439" l10n="U" xml-lang="en-US" oldref="11">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3153091" l10n="U" xml-lang="en-US" oldref="12">Sub ExampleChoose</paragraph>
+ <paragraph role="paragraph" id="par_id3152597" l10n="U" xml-lang="en-US" oldref="13">Dim sReturn As String</paragraph>
+ <paragraph role="paragraph" id="par_id3155855" l10n="U" xml-lang="en-US" oldref="14">sReturn = ChooseMenu(2)</paragraph>
+ <paragraph role="paragraph" id="par_id3148575" l10n="U" xml-lang="en-US" oldref="15">Print sReturn</paragraph>
+ <paragraph role="paragraph" id="par_id3154012" l10n="U" xml-lang="en-US" oldref="16">end sub</paragraph>
+
+
+ <paragraph role="paragraph" id="par_id3146921" l10n="U" xml-lang="en-US" oldref="19">Function ChooseMenu(Index As Integer)</paragraph>
+ <paragraph role="paragraph" id="par_id3156443" l10n="U" xml-lang="en-US" oldref="20">ChooseMenu = Choose(Index, &quot;Quick Format&quot;, &quot;Save Format&quot;, &quot;System Format&quot;)</paragraph>
+ <paragraph role="paragraph" id="par_id3148645" l10n="U" xml-lang="en-US" oldref="21">End Function</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03090403.xhp b/helpcontent2/source/text/sbasic/shared/03090403.xhp
new file mode 100644
index 0000000000..05691504ec
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03090403.xhp
@@ -0,0 +1,95 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************-->
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03090403xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Declare Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03090403.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="declare">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3148473"><bookmark_value>Declare;statement</bookmark_value></bookmark><paragraph id="hd_id3148473" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03090403.xhp" name="Declare Statement [Runtime]">Declare Statement [Runtime]</link></paragraph>
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3145316"><bookmark_value>DLL (Dynamic Link Library)</bookmark_value></bookmark><paragraph role="paragraph" id="par_id3145316" l10n="U" xml-lang="en-US" oldref="2">Declares and defines a subroutine in a that you want to execute from $[officename] Basic.</paragraph>
+ </section>
+ <paragraph l10n="U" role="paragraph" id="par_id3146795" xml-lang="en-US" oldref="3">See also: <link href="text/sbasic/shared/03090405.xhp" name="FreeLibrary">FreeLibrary</link></paragraph>
+ <paragraph role="heading" level="2" id="hd_id3156344" l10n="U" xml-lang="en-US" oldref="4">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3148664" l10n="U" xml-lang="en-US" oldref="5">Declare {Sub | Function} Name Lib "Libname" [Alias "Aliasname"] [Parameter] [As Type]</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3153360" l10n="U" xml-lang="en-US" oldref="6">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3154140" xml-lang="en-US" oldref="8"><emph>Name:</emph> A different name than defined in the DLL, to call the subroutine from $[officename] Basic.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150870" xml-lang="en-US" oldref="9"><emph>Aliasname</emph>: Name of the subroutine as defined in the DLL.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3154684" xml-lang="en-US" oldref="10"><emph>Libname:</emph> File or system name of the DLL. This library is automatically loaded the first time the function is used.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3148452" xml-lang="en-US" oldref="11"><emph>Argumentlist:</emph> List of parameters representing arguments that are passed to the procedure when it is called. The type and number of parameters is dependent on the executed procedure.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3147289" xml-lang="en-US" oldref="12"><emph>Type:</emph> Defines the data type of the value that is returned by a function procedure. You can exclude this parameter if a type-declaration character is entered after the name.</paragraph>
+ <paragraph xml-lang="en-US" role="warning" id="par_id3146922" l10n="U" oldref="13">To pass a parameter to a subroutine as a value instead of as a reference, the parameter must be indicated by the keyword <emph>ByVal</emph>.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3153951" l10n="U" xml-lang="en-US" oldref="14">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3154320" l10n="U" xml-lang="en-US" oldref="15">Declare Sub MyMessageBeep Lib "user32.dll" Alias "MessageBeep" ( long )</paragraph>
+
+ <paragraph role="paragraph" id="par_id3150417" l10n="U" xml-lang="en-US" oldref="17">Sub ExampleDeclare</paragraph>
+ <paragraph role="paragraph" id="par_id3149959" l10n="U" xml-lang="en-US" oldref="18">Dim lValue As Long</paragraph>
+ <paragraph role="paragraph" id="par_id3145647" l10n="U" xml-lang="en-US" oldref="19">lValue = 5000</paragraph>
+ <paragraph role="paragraph" id="par_id3145801" l10n="U" xml-lang="en-US" oldref="20">MyMessageBeep( lValue )</paragraph>
+ <paragraph role="paragraph" id="par_id3145253" l10n="U" xml-lang="en-US" oldref="21">FreeLibrary("user32.dll" )</paragraph>
+ <paragraph role="paragraph" id="par_id3149402" l10n="U" xml-lang="en-US" oldref="22">End Sub</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03090404.xhp b/helpcontent2/source/text/sbasic/shared/03090404.xhp
new file mode 100755
index 0000000000..7bfaf3fde2
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03090404.xhp
@@ -0,0 +1,99 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03090404xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">End Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03090404.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="end">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3150771"><bookmark_value>End;statement</bookmark_value></bookmark><paragraph id="hd_id3150771" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03090404.xhp" name="End Statement [Runtime]">End Statement [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3153126" l10n="U" xml-lang="en-US" oldref="2">Ends a procedure or block.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3147264" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3148552" l10n="U" xml-lang="en-US" oldref="4">End, End Function, End If, End Select, End Sub</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3149456" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph role="paragraph" id="par_id3150398" l10n="U" xml-lang="en-US" oldref="6">Use the End statement as follows:</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3154366" l10n="U" xml-lang="en-US" oldref="7">Statement</paragraph>
+ <paragraph role="paragraph" id="par_id3151043" l10n="U" xml-lang="en-US" oldref="8">End: Is not required, but can be entered anywhere within a procedure to end the program execution.</paragraph>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3145171" l10n="U" oldref="9">End Function: Ends a <emph>Function</emph> statement.</paragraph>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3153192" l10n="U" oldref="10">End If: Marks the end of a <emph>If...Then...Else</emph> block.</paragraph>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3148451" l10n="U" oldref="11">End Select: Marks the end of a <emph>Select Case</emph> block.</paragraph>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3155131" l10n="U" oldref="12">End Sub: Ends a <emph>Sub</emph> statement.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3146120" l10n="U" xml-lang="en-US" oldref="13">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3146985" l10n="U" xml-lang="en-US" oldref="14">Sub ExampleRandomSelect</paragraph>
+ <paragraph role="paragraph" id="par_id3153363" l10n="U" xml-lang="en-US" oldref="15">Dim iVar As Integer</paragraph>
+ <paragraph role="paragraph" id="par_id3153727" l10n="U" xml-lang="en-US" oldref="16">iVar = Int((15 * Rnd) -2)</paragraph>
+ <paragraph role="paragraph" id="par_id3150011" l10n="U" xml-lang="en-US" oldref="17">Select Case iVar</paragraph>
+ <paragraph role="paragraph" id="par_id3149481" l10n="U" xml-lang="en-US" oldref="18">Case 1 To 5</paragraph>
+ <paragraph role="paragraph" id="par_id3152887" l10n="U" xml-lang="en-US" oldref="19">Print &quot;Number from 1 to 5&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3163713" l10n="U" xml-lang="en-US" oldref="20">Case 6, 7, 8</paragraph>
+ <paragraph role="paragraph" id="par_id3148618" l10n="U" xml-lang="en-US" oldref="21">Print &quot;Number from 6 to 8&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3153144" l10n="U" xml-lang="en-US" oldref="22">Case Is &gt; 8 And iVar &lt; 11</paragraph>
+ <paragraph role="paragraph" id="par_id3147436" l10n="U" xml-lang="en-US" oldref="23">Print &quot;Greater than 8&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3155418" l10n="U" xml-lang="en-US" oldref="24">Case Else</paragraph>
+ <paragraph role="paragraph" id="par_id3150418" l10n="U" xml-lang="en-US" oldref="25">Print &quot;Outside range 1 to 10&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3156285" l10n="U" xml-lang="en-US" oldref="26">End Select</paragraph>
+ <paragraph role="paragraph" id="par_id3149582" l10n="U" xml-lang="en-US" oldref="27">end sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03090405.xhp b/helpcontent2/source/text/sbasic/shared/03090405.xhp
new file mode 100644
index 0000000000..cdc51a1ea4
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03090405.xhp
@@ -0,0 +1,93 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************-->
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03090405xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">FreeLibrary Function [Runtime]</title>
+<filename>/text/sbasic/shared/03090405.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="freelibrary">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3143270"><bookmark_value>FreeLibrary;function</bookmark_value></bookmark><paragraph id="hd_id3143270" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03090405.xhp" name="FreeLibrary Function [Runtime]">FreeLibrary Function [Runtime]</link></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3147559" xml-lang="en-US" oldref="2">Releases DLLs that were loaded by a Declare statement. A released DLL is automatically reloaded if one of its functions is called. See also: <link href="text/sbasic/shared/03090403.xhp" name="Declare">Declare</link></paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3148550" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3153361" l10n="U" xml-lang="en-US" oldref="4">FreeLibrary (LibName As String)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3153380" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3154138" xml-lang="en-US" oldref="6"><emph>LibName:</emph> String expression that specifies the name of the DLL.</paragraph>
+ <paragraph role="note" id="par_id3146923" l10n="U" xml-lang="en-US" oldref="7">FreeLibrary can only release DLLs that are loaded during Basic runtime.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3153363" l10n="U" xml-lang="en-US" oldref="8">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3155855" l10n="U" xml-lang="en-US" oldref="9">Declare Sub MyMessageBeep Lib "user32.dll" Alias "MessageBeep" ( long )</paragraph>
+
+ <paragraph role="paragraph" id="par_id3149664" l10n="U" xml-lang="en-US" oldref="11">Sub ExampleDeclare</paragraph>
+ <paragraph role="paragraph" id="par_id3148618" l10n="U" xml-lang="en-US" oldref="12">Dim lValue As Long</paragraph>
+ <paragraph role="paragraph" id="par_id3147350" l10n="U" xml-lang="en-US" oldref="13">lValue = 5000</paragraph>
+ <paragraph role="paragraph" id="par_id3148648" l10n="U" xml-lang="en-US" oldref="14">MyMessageBeep( lValue )</paragraph>
+ <paragraph role="paragraph" id="par_id3145750" l10n="U" xml-lang="en-US" oldref="15">FreeLibrary("user32.dll" )</paragraph>
+ <paragraph role="paragraph" id="par_id3149412" l10n="U" xml-lang="en-US" oldref="16">End Sub</paragraph>
+
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03090406.xhp b/helpcontent2/source/text/sbasic/shared/03090406.xhp
new file mode 100755
index 0000000000..5ceffc0aad
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03090406.xhp
@@ -0,0 +1,113 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03090406xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Function Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03090406.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="function">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3153346"><bookmark_value>Function;statement</bookmark_value></bookmark><paragraph id="hd_id3153346" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03090406.xhp" name="Function Statement [Runtime]">Function Statement [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3159158" l10n="U" xml-lang="en-US" oldref="2">Defines a subroutine that can be used as an expression to determine a return type.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3145316" l10n="U" xml-lang="en-US" oldref="3">Syntax</paragraph>
+ <paragraph role="paragraph" id="par_id3148944" l10n="U" xml-lang="en-US" oldref="4">see Parameter</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3154760" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph role="paragraph" id="par_id3156344" l10n="U" xml-lang="en-US" oldref="6">Syntax</paragraph>
+ <paragraph role="paragraph" id="par_id3149457" l10n="U" xml-lang="en-US" oldref="7">Function Name[(VarName1 [As Type][, VarName2 [As Type][,...]]]) [As Type]</paragraph>
+ <paragraph role="paragraph" id="par_id3153360" l10n="U" xml-lang="en-US" oldref="8">statement block</paragraph>
+ <paragraph role="paragraph" id="par_id3148797" l10n="U" xml-lang="en-US" oldref="9">[Exit Function]</paragraph>
+ <paragraph role="paragraph" id="par_id3145419" l10n="U" xml-lang="en-US" oldref="10">statement block</paragraph>
+ <paragraph role="paragraph" id="par_id3150449" l10n="U" xml-lang="en-US" oldref="11">End Function</paragraph>
+ <paragraph role="paragraph" id="par_id3156281" l10n="U" xml-lang="en-US" oldref="12">Parameter</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3153193" xml-lang="en-US" oldref="13"><emph>Name:</emph> Name of the subroutine to contain the value returned by the function.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3147229" xml-lang="en-US" oldref="14"><emph>VarName:</emph> Parameter to be passed to the subroutine.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3147287" xml-lang="en-US" oldref="15"><emph>Type:</emph> Type-declaration keyword.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3163710" l10n="U" xml-lang="en-US" oldref="16">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3147214" l10n="U" xml-lang="en-US" oldref="17">Sub ExampleExit</paragraph>
+ <paragraph role="paragraph" id="par_id3152596" l10n="U" xml-lang="en-US" oldref="18">Dim sReturn As String</paragraph>
+ <paragraph role="paragraph" id="par_id3153364" l10n="U" xml-lang="en-US" oldref="19">Dim sListArray(10) as String</paragraph>
+ <paragraph role="paragraph" id="par_id3149481" l10n="U" xml-lang="en-US" oldref="20">Dim siStep as Single</paragraph>
+ <paragraph role="paragraph" id="par_id3152939" l10n="U" xml-lang="en-US" oldref="21">For siStep = 0 to 10 REM Fill array with test data</paragraph>
+ <paragraph role="paragraph" id="par_id3147349" l10n="U" xml-lang="en-US" oldref="22">sListArray(siStep) = chr$(siStep + 65)</paragraph>
+ <paragraph role="paragraph" id="par_id3147426" l10n="U" xml-lang="en-US" oldref="23">msgbox sListArray(siStep)</paragraph>
+ <paragraph role="paragraph" id="par_id3152576" l10n="U" xml-lang="en-US" oldref="24">next siStep</paragraph>
+ <paragraph role="paragraph" id="par_id3146922" l10n="U" xml-lang="en-US" oldref="25">sReturn = LinSearch(sListArray(), &quot;B&quot;)</paragraph>
+ <paragraph role="paragraph" id="par_id3153140" l10n="U" xml-lang="en-US" oldref="26">Print sReturn</paragraph>
+ <paragraph role="paragraph" id="par_id3149581" l10n="U" xml-lang="en-US" oldref="27">end sub</paragraph>
+
+
+ <paragraph role="paragraph" id="par_id3154790" l10n="U" xml-lang="en-US" oldref="30">Function LinSearch( sList(), sItem As String ) as integer</paragraph>
+ <paragraph role="paragraph" id="par_id3150594" l10n="U" xml-lang="en-US" oldref="31">dim iCount as Integer</paragraph>
+ <paragraph role="paragraph" id="par_id3154943" l10n="U" xml-lang="en-US" oldref="32">REM Linsearch searches a TextArray:sList() for a TextEntry:</paragraph>
+ <paragraph role="paragraph" id="par_id3155601" l10n="U" xml-lang="en-US" oldref="33">REM Return value is the index of the entry or 0 (Null)</paragraph>
+ <paragraph role="paragraph" id="par_id3154511" l10n="U" xml-lang="en-US" oldref="34">for iCount=1 to Ubound( sList() )</paragraph>
+ <paragraph role="paragraph" id="par_id3149123" l10n="U" xml-lang="en-US" oldref="35">if sList( iCount ) = sItem then</paragraph>
+ <paragraph role="paragraph" id="par_id3153707" l10n="U" xml-lang="en-US" oldref="36">exit for REM sItem found</paragraph>
+ <paragraph role="paragraph" id="par_id3155066" l10n="U" xml-lang="en-US" oldref="37">end if</paragraph>
+ <paragraph role="paragraph" id="par_id3156275" l10n="U" xml-lang="en-US" oldref="38">next iCount</paragraph>
+ <paragraph role="paragraph" id="par_id3156054" l10n="U" xml-lang="en-US" oldref="39">if iCount = Ubound( sList() ) then iCount = 0</paragraph>
+ <paragraph role="paragraph" id="par_id3153765" l10n="U" xml-lang="en-US" oldref="40">LinSearch = iCount</paragraph>
+ <paragraph role="paragraph" id="par_id3153713" l10n="U" xml-lang="en-US" oldref="41">end function</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03090407.xhp b/helpcontent2/source/text/sbasic/shared/03090407.xhp
new file mode 100644
index 0000000000..95ca2099f4
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03090407.xhp
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************-->
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03090407xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Rem Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03090407.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="rem">
+ <bookmark branch="index" xml-lang="en-US" id="bm_id3154347"><bookmark_value>Rem;statement</bookmark_value><bookmark_value>comments;Rem</bookmark_value></bookmark><paragraph id="hd_id3154347" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03090407.xhp" name="Rem Statement [Runtime]">Rem Statement [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3153525" l10n="U" xml-lang="en-US" oldref="2">Specifies that a program line is a comment.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3153360" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3154141" l10n="U" xml-lang="en-US" oldref="4">Rem Text</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3151042" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150869" xml-lang="en-US" oldref="6"><emph>Text:</emph> Any text that serves as a comment.</paragraph>
+ <paragraph role="tip" id="par_id3147318" l10n="U" xml-lang="en-US" oldref="7">You can use the single quotation mark instead of the Rem keyword to indicate that the text on a line is comments. This symbol can be inserted directly to the right of the program code, followed by a comment.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3150012" l10n="U" xml-lang="en-US" oldref="8">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3152939" l10n="U" xml-lang="en-US" oldref="9">Sub ExampleMid</paragraph>
+ <paragraph role="paragraph" id="par_id3153142" l10n="U" xml-lang="en-US" oldref="10">DIM sVar As String</paragraph>
+ <paragraph role="paragraph" id="par_id3145365" l10n="U" xml-lang="en-US" oldref="11">sVar = "Las Vegas"</paragraph>
+ <paragraph role="paragraph" id="par_id3146984" l10n="U" xml-lang="en-US" oldref="12">Print Mid(sVar,3,5) REM Returns "s Veg"</paragraph>
+ <paragraph role="paragraph" id="par_id3153140" l10n="U" xml-lang="en-US" oldref="13">REM Nothing occurs here</paragraph>
+ <paragraph role="paragraph" id="par_id3152596" l10n="U" xml-lang="en-US" oldref="14">end sub</paragraph>
+
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03090408.xhp b/helpcontent2/source/text/sbasic/shared/03090408.xhp
new file mode 100755
index 0000000000..db2f5240d6
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03090408.xhp
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03090408xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Stop Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03090408.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="stop">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3153311"><bookmark_value>Stop;statement</bookmark_value></bookmark><paragraph id="hd_id3153311" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03090408.xhp" name="Stop Statement [Runtime]">Stop Statement [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3154142" l10n="U" xml-lang="en-US" oldref="2">Stops the execution of the Basic program.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3153126" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3156023" l10n="U" xml-lang="en-US" oldref="4">Stop</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3156344" l10n="U" xml-lang="en-US" oldref="5">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3148552" l10n="U" xml-lang="en-US" oldref="6">Sub ExampleStop</paragraph>
+ <paragraph role="paragraph" id="par_id3153897" l10n="U" xml-lang="en-US" oldref="7">Dim iVar As Single</paragraph>
+ <paragraph role="paragraph" id="par_id3153380" l10n="U" xml-lang="en-US" oldref="8">iVar = 36</paragraph>
+ <paragraph role="paragraph" id="par_id3150400" l10n="U" xml-lang="en-US" oldref="9">Stop</paragraph>
+ <paragraph role="paragraph" id="par_id3148799" l10n="U" xml-lang="en-US" oldref="10">Msgbox Sqr(iVar)</paragraph>
+ <paragraph role="paragraph" id="par_id3151043" l10n="U" xml-lang="en-US" oldref="11">end sub</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03090409.xhp b/helpcontent2/source/text/sbasic/shared/03090409.xhp
new file mode 100755
index 0000000000..f8082f68c4
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03090409.xhp
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03090409xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Sub Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03090409.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="sub">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3147226"><bookmark_value>Sub;statement</bookmark_value></bookmark><paragraph id="hd_id3147226" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03090409.xhp" name="Sub Statement [Runtime]">Sub Statement [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3153311" l10n="U" xml-lang="en-US" oldref="2">Defines a subroutine.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3149416" l10n="U" xml-lang="en-US" oldref="3">Syntax</paragraph>
+ <paragraph role="paragraph" id="par_id3154142" l10n="U" xml-lang="en-US" oldref="4">see Parameter</paragraph>
+ <paragraph role="paragraph" id="par_id3147530" l10n="U" xml-lang="en-US" oldref="5">statement block</paragraph>
+ <paragraph role="paragraph" id="par_id3149669" l10n="U" xml-lang="en-US" oldref="6">[Exit Sub]</paragraph>
+ <paragraph role="paragraph" id="par_id3148947" l10n="U" xml-lang="en-US" oldref="7">statement block</paragraph>
+ <paragraph role="paragraph" id="par_id3146795" l10n="U" xml-lang="en-US" oldref="8">End Sub</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3153525" l10n="U" xml-lang="en-US" oldref="9">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150792" xml-lang="en-US" oldref="10"><emph>Name:</emph> Name of the subroutine .</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3154138" xml-lang="en-US" oldref="11"><emph>VarName: </emph>Parameter that you want to pass to the subroutine.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3154908" xml-lang="en-US" oldref="12"><emph>Type:</emph> Type-declaration key word.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3145421" xml-lang="en-US" oldref="13"><emph>Name:</emph> Name of the subroutine.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3145171" xml-lang="en-US" oldref="14"><emph>VarName:</emph> Parameter that you want to pass to the subroutine.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3145785" xml-lang="en-US" oldref="15"><emph>Type:</emph> Type-declaration key word.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3153770" l10n="U" xml-lang="en-US" oldref="16">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3151113" l10n="U" xml-lang="en-US" oldref="17">Sub ExampleShell</paragraph>
+
+ <paragraph role="paragraph" id="par_id3154319" l10n="U" xml-lang="en-US" oldref="19">end sub</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03090410.xhp b/helpcontent2/source/text/sbasic/shared/03090410.xhp
new file mode 100755
index 0000000000..785f62c444
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03090410.xhp
@@ -0,0 +1,95 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03090410xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Switch Function [Runtime]</title>
+<filename>/text/sbasic/shared/03090410.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="switch">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3148554"><bookmark_value>Switch; function</bookmark_value></bookmark><paragraph id="hd_id3148554" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03090410.xhp" name="Switch Function [Runtime]">Switch Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3148522" l10n="U" xml-lang="en-US" oldref="2">Evaluates a list of arguments, consisting of an expression followed by a value. The Switch function returns a value that is associated with the expression that is passed by this function.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3154863" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3155934" l10n="U" xml-lang="en-US" oldref="4">Switch (Expression1, Value1[, Expression2, Value2[..., Expression_n, Value_n]])</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3149119" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3153894" l10n="U" oldref="6">The <emph>Switch</emph> function evaluates the expressions from left to right, and then returns the value that is assigned to the function expression. If expression and value are not given as a pair, a runtime error occurs.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3153990" xml-lang="en-US" oldref="7"><emph>Expression:</emph> The expression that you want to evaluate.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3153394" xml-lang="en-US" oldref="8"><emph>Value:</emph> The value that you want to return if the expression is True.</paragraph>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3153346" l10n="U" oldref="9">In the following example, the <emph>Switch</emph> function assigns the appropriate gender to the name that is passed to the function:</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3159157" l10n="U" xml-lang="en-US" oldref="10">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3147573" l10n="U" xml-lang="en-US" oldref="11">Sub ExampleSwitch</paragraph>
+ <paragraph role="paragraph" id="par_id3143270" l10n="U" xml-lang="en-US" oldref="12">Dim sGender As String</paragraph>
+ <paragraph role="paragraph" id="par_id3149579" l10n="U" xml-lang="en-US" oldref="13">sGender = GetGenderIndex( &quot;John&quot; )</paragraph>
+ <paragraph role="paragraph" id="par_id3153626" l10n="U" xml-lang="en-US" oldref="14">MsgBox sGender</paragraph>
+ <paragraph role="paragraph" id="par_id3147560" l10n="U" xml-lang="en-US" oldref="15">End Sub</paragraph>
+
+ <paragraph role="paragraph" id="par_id3154758" l10n="U" xml-lang="en-US" oldref="17">Function GetGenderIndex (sName As String) As String</paragraph>
+ <paragraph role="paragraph" id="par_id3153361" l10n="U" xml-lang="en-US" oldref="18">GetGenderIndex = Switch(sName = &quot;Jane&quot;, &quot;female&quot;, sName = &quot;John&quot;, &quot;male&quot;)</paragraph>
+ <paragraph role="paragraph" id="par_id3154939" l10n="U" xml-lang="en-US" oldref="19">End Function</paragraph>
+
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03090411.xhp b/helpcontent2/source/text/sbasic/shared/03090411.xhp
new file mode 100755
index 0000000000..1c8303d2b7
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03090411.xhp
@@ -0,0 +1,78 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03090411xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">With Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03090411.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="with">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3153311"><bookmark_value>With;statement</bookmark_value></bookmark><paragraph id="hd_id3153311" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03090411.xhp" name="With Statement [Runtime]">With Statement [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3159158" l10n="U" xml-lang="en-US" oldref="2">Sets an object as the default object. Unless another object name is declared, all properties and methods refer to the default object until the End With statement is reached.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3156153" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3145609" l10n="U" xml-lang="en-US" oldref="4">With Object Statement block End With</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3154924" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph xml-lang="en-US" oldref="6" role="paragraph" id="par_id3147560" l10n="U">Use <emph>With</emph> and <emph>End With</emph> if you have several properties or methods for a single object.</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03090412.xhp b/helpcontent2/source/text/sbasic/shared/03090412.xhp
new file mode 100644
index 0000000000..8f2552d329
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03090412.xhp
@@ -0,0 +1,115 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************-->
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03090412xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Exit Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03090412.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="exit">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3152924"><bookmark_value>Exit;statement</bookmark_value></bookmark><paragraph id="hd_id3152924" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03090412.xhp" name="Exit Statement [Runtime]">Exit Statement [Runtime]</link></paragraph>
+ <paragraph xml-lang="en-US" oldref="2" role="paragraph" id="par_id3153394" l10n="U">Exits a <emph>Do...Loop</emph>, <emph>For...Next</emph>, a function, or a subroutine.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3149763" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3159157" l10n="U" xml-lang="en-US" oldref="4">see Parameters</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3148943" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3154760" xml-lang="en-US" oldref="6"><emph>Exit Do</emph></paragraph>
+ <paragraph xml-lang="en-US" oldref="7" role="paragraph" id="par_id3147559" l10n="U">Only valid within a <emph>Do...Loop</emph> statement to exit the loop. Program execution continues with the statement that follows the Loop statement. If <emph>Do...Loop</emph> statements are nested, the control is transferred to the loop in the next higher level.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150398" xml-lang="en-US" oldref="8"><emph>Exit For</emph></paragraph>
+ <paragraph xml-lang="en-US" oldref="9" role="paragraph" id="par_id3148797" l10n="U">Only valid within a <emph>For...Next</emph> loop to exit the loop. Program execution continues with the first statement that follows the <emph>Next</emph> statement. In nested statements, the control is transferred to the loop in the next higher level.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3147229" xml-lang="en-US" oldref="10"><emph>Exit Function</emph></paragraph>
+ <paragraph xml-lang="en-US" oldref="11" role="paragraph" id="par_id3154685" l10n="U">Exits the <emph>Function</emph> procedure immediately. Program execution continues with the statement that follows the <emph>Function</emph> call.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3155132" xml-lang="en-US" oldref="12"><emph>Exit Sub</emph></paragraph>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3149561" l10n="U" oldref="13">Exits the subroutine immediately. Program execution continues with the statement that follows the <emph>Sub</emph> call.</paragraph>
+ <paragraph role="note" id="par_id3153143" l10n="U" xml-lang="en-US" oldref="14">The Exit statement does not define the end of a structure, and must not be confused with the End statement.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3147348" l10n="U" xml-lang="en-US" oldref="15">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3151113" l10n="U" xml-lang="en-US" oldref="16">Sub ExampleExit</paragraph>
+ <paragraph role="paragraph" id="par_id3156283" l10n="U" xml-lang="en-US" oldref="17">Dim sReturn As String</paragraph>
+ <paragraph role="paragraph" id="par_id3147125" l10n="U" xml-lang="en-US" oldref="18">Dim sListArray(10) as String</paragraph>
+ <paragraph role="paragraph" id="par_id3151073" l10n="U" xml-lang="en-US" oldref="19">Dim siStep as Single</paragraph>
+ <paragraph role="paragraph" id="par_id3153158" l10n="U" xml-lang="en-US" oldref="20">For siStep = 0 to 10 REM Fill array with test data</paragraph>
+ <paragraph role="paragraph" id="par_id3148457" l10n="U" xml-lang="en-US" oldref="21">sListArray(siStep) = chr(siStep + 65)</paragraph>
+ <paragraph role="paragraph" id="par_id3154492" l10n="U" xml-lang="en-US" oldref="22">msgbox sListArray(siStep)</paragraph>
+ <paragraph role="paragraph" id="par_id3154791" l10n="U" xml-lang="en-US" oldref="23">next siStep</paragraph>
+ <paragraph role="paragraph" id="par_id3153510" l10n="U" xml-lang="en-US" oldref="24">sReturn = LinSearch(sListArray(), "B")</paragraph>
+ <paragraph role="paragraph" id="par_id3154513" l10n="U" xml-lang="en-US" oldref="25">Print sReturn</paragraph>
+ <paragraph role="paragraph" id="par_id3149121" l10n="U" xml-lang="en-US" oldref="26">end sub</paragraph>
+
+
+ <paragraph role="paragraph" id="par_id3152962" l10n="U" xml-lang="en-US" oldref="29">Function LinSearch( sList(), sItem As String ) as integer</paragraph>
+ <paragraph role="paragraph" id="par_id3154755" l10n="U" xml-lang="en-US" oldref="30">dim iCount as Integer</paragraph>
+ <paragraph role="paragraph" id="par_id3153764" l10n="U" xml-lang="en-US" oldref="31">REM LinSearch searches a TextArray:sList() for a TextEntry:</paragraph>
+ <paragraph role="paragraph" id="par_id3148995" l10n="U" xml-lang="en-US" oldref="32">REM Returns the index of the entry or 0 ( Null)</paragraph>
+ <paragraph role="paragraph" id="par_id3156057" l10n="U" xml-lang="en-US" oldref="33">for iCount=1 to Ubound( sList() )</paragraph>
+ <paragraph role="paragraph" id="par_id3159266" l10n="U" xml-lang="en-US" oldref="34">if sList( iCount ) = sItem then</paragraph>
+ <paragraph role="paragraph" id="par_id3149567" l10n="U" xml-lang="en-US" oldref="35">Exit for REM sItem found</paragraph>
+ <paragraph role="paragraph" id="par_id3147343" l10n="U" xml-lang="en-US" oldref="36">end if</paragraph>
+ <paragraph role="paragraph" id="par_id3155174" l10n="U" xml-lang="en-US" oldref="37">next iCount</paragraph>
+ <paragraph role="paragraph" id="par_id3146313" l10n="U" xml-lang="en-US" oldref="38">if iCount = Ubound( sList() ) then iCount = 0</paragraph>
+ <paragraph role="paragraph" id="par_id3166448" l10n="U" xml-lang="en-US" oldref="39">LinSearch = iCount</paragraph>
+ <paragraph role="paragraph" id="par_id3146916" l10n="U" xml-lang="en-US" oldref="40">end function</paragraph>
+
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03100000.xhp b/helpcontent2/source/text/sbasic/shared/03100000.xhp
new file mode 100755
index 0000000000..19ed8280ac
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03100000.xhp
@@ -0,0 +1,116 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03100000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Variables</title>
+<filename>/text/sbasic/shared/03100000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="variablen">
+ <paragraph id="hd_id3149669" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03100000.xhp" name="Variables">Variables</link></paragraph>
+ <paragraph role="paragraph" id="par_id3147265" l10n="U" xml-lang="en-US" oldref="2">The following statements and functions are for working with variables. You can use these functions to declare or define variables, convert variables from one type to another, or determine the variable type.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/03100100.xhp#cbool"/>
+ <embed href="text/sbasic/shared/03100300.xhp#cdate"/>
+ <embed href="text/sbasic/shared/03100400.xhp#cdbl"/>
+ <embed href="text/sbasic/shared/03100500.xhp#cint"/>
+ <embed href="text/sbasic/shared/03100600.xhp#clng"/>
+ <embed href="text/sbasic/shared/03100700.xhp#const"/>
+ <embed href="text/sbasic/shared/03100900.xhp#csng"/>
+ <embed href="text/sbasic/shared/03101000.xhp#cstr"/>
+ <embed href="text/sbasic/shared/03101100.xhp#defbool"/>
+ <embed href="text/sbasic/shared/03101300.xhp#defdate"/>
+ <embed href="text/sbasic/shared/03101400.xhp#defdbl"/>
+ <embed href="text/sbasic/shared/03101500.xhp#defint"/>
+ <embed href="text/sbasic/shared/03101600.xhp#deflng"/>
+ <embed href="text/sbasic/shared/03101700.xhp#defobj"/>
+ <embed href="text/sbasic/shared/03102000.xhp#defvar"/>
+ <embed href="text/sbasic/shared/03102100.xhp#dimtext"/>
+ <embed href="text/sbasic/shared/03102101.xhp#redim"/>
+ <embed href="text/sbasic/shared/03102200.xhp#isarray"/>
+ <embed href="text/sbasic/shared/03102300.xhp#isdate"/>
+ <embed href="text/sbasic/shared/03102400.xhp#isempty"/>
+ <embed href="text/sbasic/shared/03102600.xhp#isnull"/>
+ <embed href="text/sbasic/shared/03102700.xhp#isnumeric"/>
+ <embed href="text/sbasic/shared/03102800.xhp#isobject"/>
+ <embed href="text/sbasic/shared/03102900.xhp#lbound"/>
+ <embed href="text/sbasic/shared/03103000.xhp#ubound"/>
+ <embed href="text/sbasic/shared/03103100.xhp#let"/>
+ <embed href="text/sbasic/shared/03104200.xhp#array"/>
+ <embed href="text/sbasic/shared/03104300.xhp#dimarray"/>
+ <embed href="text/sbasic/shared/03103200.xhp#optionbase"/>
+ <embed href="text/sbasic/shared/03103300.xhp#optionexplicit"/>
+ <embed href="text/sbasic/shared/03103400.xhp#public"/>
+ <embed href="text/sbasic/shared/03103450.xhp#global"/>
+ <embed href="text/sbasic/shared/03103500.xhp#static"/>
+ <embed href="text/sbasic/shared/03103600.xhp#typename"/>
+ <embed href="text/sbasic/shared/03103700.xhp#set"/>
+ <embed href="text/sbasic/shared/03103800.xhp#findobject"/>
+ <embed href="text/sbasic/shared/03103900.xhp#findpropertyobject"/>
+ <embed href="text/sbasic/shared/03104100.xhp#optional"/>
+ <embed href="text/sbasic/shared/03104000.xhp#ismissing"/>
+ <embed href="text/sbasic/shared/03104400.xhp#hasunointerfaces"/>
+ <embed href="text/sbasic/shared/03104600.xhp#equalunoobjects"/>
+ <embed href="text/sbasic/shared/03104500.xhp#isunostruct"/>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03100100.xhp b/helpcontent2/source/text/sbasic/shared/03100100.xhp
new file mode 100755
index 0000000000..940f8580f7
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03100100.xhp
@@ -0,0 +1,96 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03100100xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">CBool Function [Runtime]</title>
+<filename>/text/sbasic/shared/03100100.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="cbool">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3150616"><bookmark_value>CBool;function</bookmark_value></bookmark><paragraph id="hd_id3150616" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03100100.xhp" name="CBool Function [Runtime]">CBool Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3145136" l10n="U" xml-lang="en-US" oldref="2">Converts a string comparison or numeric comparison to a Boolean expression, or converts a single numeric expression to a Boolean expression.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3153345" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3149514" l10n="U" xml-lang="en-US" oldref="4">CBool (Expression1 {= | &lt;&gt; | &lt; | &gt; | &lt;= | &gt;=} Expression2) or CBool (Number)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3156152" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3155419" l10n="U" xml-lang="en-US" oldref="6">Bool</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3147530" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" xml-lang="en-US" oldref="8" role="paragraph" id="par_id3156344"><emph>Expression1, Expression2:</emph> Any string or numeric expressions that you want to compare. If the expressions match, the <emph>CBool</emph> function returns <emph>True</emph>, otherwise <emph>False</emph> is returned.</paragraph>
+ <paragraph l10n="U" xml-lang="en-US" oldref="9" role="paragraph" id="par_id3149655"><emph>Number:</emph> Any numeric expression that you want to convert. If the expression equals 0, <emph>False</emph> is returned, otherwise <emph>True</emph> is returned.</paragraph>
+ <paragraph xml-lang="en-US" oldref="10" role="paragraph" id="par_id3145171" l10n="U">The following example uses the <emph>CBool</emph> function to evaluate the value that is returned by the <emph>Instr</emph> function. The function checks if the word &quot;and&quot; is found in the sentence that was entered by the user.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3156212" l10n="U" xml-lang="en-US" oldref="11">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3147288" l10n="U" xml-lang="en-US" oldref="12">Sub ExampleCBool</paragraph>
+ <paragraph role="paragraph" id="par_id3153768" l10n="U" xml-lang="en-US" oldref="13">Dim sText As String</paragraph>
+ <paragraph role="paragraph" id="par_id3155132" l10n="U" xml-lang="en-US" oldref="14">sText = InputBox(&quot;Please enter a short sentence:&quot;)</paragraph>
+ <paragraph role="paragraph" id="par_id3155855" l10n="U" xml-lang="en-US" oldref="15">REM Proof if the word »and« appears in the sentence.</paragraph>
+ <paragraph role="paragraph" id="par_id3146984" l10n="U" xml-lang="en-US" oldref="16">REM Instead of the command line</paragraph>
+ <paragraph role="paragraph" id="par_id3148576" l10n="U" xml-lang="en-US" oldref="17">REM If Instr(Input, &quot;and&quot;)&lt;&gt;0 Then...</paragraph>
+ <paragraph role="paragraph" id="par_id3154014" l10n="U" xml-lang="en-US" oldref="18">REM the CBool function is applied as follows:</paragraph>
+ <paragraph role="paragraph" id="par_id3155413" l10n="U" xml-lang="en-US" oldref="19">If CBool(Instr(sText, &quot;and&quot;)) Then</paragraph>
+ <paragraph role="paragraph" id="par_id3152940" l10n="U" xml-lang="en-US" oldref="20">MsgBox &quot;The word »and« appears in the sentence you entered!&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3153954" l10n="U" xml-lang="en-US" oldref="21">EndIf</paragraph>
+ <paragraph role="paragraph" id="par_id3152886" l10n="U" xml-lang="en-US" oldref="22">End Sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03100300.xhp b/helpcontent2/source/text/sbasic/shared/03100300.xhp
new file mode 100755
index 0000000000..8bc23a374f
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03100300.xhp
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03100300xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">CDate Function [Runtime]</title>
+<filename>/text/sbasic/shared/03100300.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="cdate">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3150772"><bookmark_value>CDate;function</bookmark_value></bookmark><paragraph id="hd_id3150772" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03100300.xhp" name="CDate Function [Runtime]">CDate Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3150986" l10n="U" xml-lang="en-US" oldref="2">Converts any string or numeric expression expression to a date value.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3148944" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3148947" l10n="U" xml-lang="en-US" oldref="4">CDate (Expression)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3148552" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3159414" l10n="U" xml-lang="en-US" oldref="6">Date</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3153525" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150359" xml-lang="en-US" oldref="8"><emph>Expression:</emph> Any string or numeric expression that you want to convert.</paragraph>
+ <paragraph xml-lang="en-US" oldref="9" role="paragraph" id="par_id3125864" l10n="U">When you convert a string expression, the date and time must be entered in the format MM.DD.YYYY HH.MM.SS, as defined by the <emph>DateValue</emph> and <emph>TimeValue</emph> function conventions. In numeric expressions, values to the left of the decimal represent the date, beginning from December 31, 1899. Values to the right of the decimal represent the time.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3156422" l10n="U" xml-lang="en-US" oldref="10">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3153969" l10n="U" xml-lang="en-US" oldref="11">sub ExampleCDate</paragraph>
+ <paragraph role="paragraph" id="par_id3159254" l10n="U" xml-lang="en-US" oldref="12">MsgBox cDate(1000.25) REM 09.26.1902 06:00:00</paragraph>
+ <paragraph role="paragraph" id="par_id3155133" l10n="U" xml-lang="en-US" oldref="13">MsgBox cDate(1001.26) REM 09.27.1902 06:14:24</paragraph>
+ <paragraph role="paragraph" id="par_id3153140" l10n="U" xml-lang="en-US" oldref="14">end sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03100400.xhp b/helpcontent2/source/text/sbasic/shared/03100400.xhp
new file mode 100755
index 0000000000..c6fc884250
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03100400.xhp
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03100400xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">CDbl Function [Runtime]</title>
+<filename>/text/sbasic/shared/03100400.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="cdbl">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3153750"><bookmark_value>CDbl;function</bookmark_value></bookmark><paragraph id="hd_id3153750" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03100400.xhp" name="CDbl Function [Runtime]">CDbl Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3149233" l10n="U" xml-lang="en-US" oldref="2">Converts any numerical expression or string expression to a double type.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3149516" l10n="U" xml-lang="en-US" oldref="3">Syntax</paragraph>
+ <paragraph role="paragraph" id="par_id3156152" l10n="U" xml-lang="en-US" oldref="4">CDbl (Expression)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3153061" l10n="U" xml-lang="en-US" oldref="5">Return value</paragraph>
+ <paragraph role="paragraph" id="par_id3145068" l10n="U" xml-lang="en-US" oldref="6">Double</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3154760" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3153897" xml-lang="en-US" oldref="8"><emph>Expression:</emph> Any string or numeric expression that you want to convert. To convert a string expression, the number must be entered as normal text (&quot;123.5&quot;) using the default number format of your operating system.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3148797" l10n="U" xml-lang="en-US" oldref="9">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3154217" l10n="U" xml-lang="en-US" oldref="10">Sub ExampleCountryConvert</paragraph>
+ <paragraph role="paragraph" id="par_id3147229" l10n="U" xml-lang="en-US" oldref="11">Msgbox CDbl(1234.5678)</paragraph>
+ <paragraph role="paragraph" id="par_id3151042" l10n="U" xml-lang="en-US" oldref="12">Msgbox CInt(1234.5678)</paragraph>
+ <paragraph role="paragraph" id="par_id3150616" l10n="U" xml-lang="en-US" oldref="13">Msgbox CLng(1234.5678)</paragraph>
+ <paragraph role="paragraph" id="par_id3153969" l10n="U" xml-lang="en-US" oldref="14">end sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03100500.xhp b/helpcontent2/source/text/sbasic/shared/03100500.xhp
new file mode 100755
index 0000000000..be8a514709
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03100500.xhp
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03100500xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">CInt Function [Runtime]</title>
+<filename>/text/sbasic/shared/03100500.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="cint">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3149346"><bookmark_value>CInt;function</bookmark_value></bookmark><paragraph id="hd_id3149346" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03100500.xhp" name="CInt Function [Runtime]">CInt Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3155419" l10n="U" xml-lang="en-US" oldref="2">Converts any string or numeric expression to an integer.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3147573" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3154142" l10n="U" xml-lang="en-US" oldref="4">CInt (Expression)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3147531" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3147560" l10n="U" xml-lang="en-US" oldref="6">Integer</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3145069" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" xml-lang="en-US" role="paragraph" id="par_id3159414" oldref="8"><emph>Expression:</emph> Any numeric expression that you want to convert. If the <emph>Expression</emph> exceeds the value range between -32768 and 32767, $[officename] Basic reports an overflow error. To convert a string expression, the number must be entered as normal text (&quot;123.5&quot;) using the default number format of your operating system.</paragraph>
+ <paragraph role="paragraph" id="par_id3150358" l10n="U" xml-lang="en-US" oldref="9">This function always rounds the fractional part of a number to the nearest integer.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3145419" l10n="U" xml-lang="en-US" oldref="10">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3150448" l10n="U" xml-lang="en-US" oldref="11">Sub ExampleCountryConvert</paragraph>
+ <paragraph role="paragraph" id="par_id3156423" l10n="U" xml-lang="en-US" oldref="12">Msgbox CDbl(1234.5678)</paragraph>
+ <paragraph role="paragraph" id="par_id3150869" l10n="U" xml-lang="en-US" oldref="13">Msgbox CInt(1234.5678)</paragraph>
+ <paragraph role="paragraph" id="par_id3153768" l10n="U" xml-lang="en-US" oldref="14">Msgbox CLng(1234.5678)</paragraph>
+ <paragraph role="paragraph" id="par_id3145786" l10n="U" xml-lang="en-US" oldref="15">end sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03100600.xhp b/helpcontent2/source/text/sbasic/shared/03100600.xhp
new file mode 100755
index 0000000000..1ba707df07
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03100600.xhp
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03100600xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">CLng Function [Runtime]</title>
+<filename>/text/sbasic/shared/03100600.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="clng">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3153311"><bookmark_value>CLng;function</bookmark_value></bookmark><paragraph id="hd_id3153311" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03100600.xhp" name="CLng Function [Runtime]">CLng Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3148686" l10n="U" xml-lang="en-US" oldref="2">Converts any string or numeric expression to a long integer.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3145315" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3147573" l10n="U" xml-lang="en-US" oldref="4">CLng (Expression)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3145610" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3153897" l10n="U" xml-lang="en-US" oldref="6">Long</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3154760" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" xml-lang="en-US" role="paragraph" id="par_id3159414" oldref="8"><emph>Expression:</emph> Any numerical expression that you want to convert. If the <emph>Expression</emph> lies outside the valid long integer range between -2.147.483.648 and 2.147.483.647, $[officename] Basic returns an overflow error. To convert a string expression, the number must be entered as normal text (&quot;123.5&quot;) using the default number format of your operating system.</paragraph>
+ <paragraph role="paragraph" id="par_id3150358" l10n="U" xml-lang="en-US" oldref="9">This function always rounds the fractional part of a number to the nearest integer.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3154216" l10n="U" xml-lang="en-US" oldref="10">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3147229" l10n="U" xml-lang="en-US" oldref="11">Sub ExampleCountryConvert</paragraph>
+ <paragraph role="paragraph" id="par_id3156281" l10n="U" xml-lang="en-US" oldref="12">Msgbox CDbl(1234.5678)</paragraph>
+ <paragraph role="paragraph" id="par_id3153969" l10n="U" xml-lang="en-US" oldref="13">Msgbox CInt(1234.5678)</paragraph>
+ <paragraph role="paragraph" id="par_id3154909" l10n="U" xml-lang="en-US" oldref="14">Msgbox CLng(1234.5678)</paragraph>
+ <paragraph role="paragraph" id="par_id3153770" l10n="U" xml-lang="en-US" oldref="15">end sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03100700.xhp b/helpcontent2/source/text/sbasic/shared/03100700.xhp
new file mode 100755
index 0000000000..ded16c9b90
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03100700.xhp
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03100700xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Const Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03100700.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="const">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3146958"><bookmark_value>Const;statement</bookmark_value></bookmark><paragraph id="hd_id3146958" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03100700.xhp" name="Const Statement [Runtime]">Const Statement [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3154143" l10n="U" xml-lang="en-US" oldref="2">Defines a string as a constant.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3150670" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3150984" l10n="U" xml-lang="en-US" oldref="4">Const Text = Expression</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3147530" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3153897" xml-lang="en-US" oldref="6"><emph>Text:</emph> Any constant name that follows the standard variable naming conventions.</paragraph>
+ <paragraph role="paragraph" id="par_id3147264" l10n="U" xml-lang="en-US" oldref="7">A constant is a variable that helps to improve the readability of a program. Constants are not defined as a specific type of variable, but rather are used as placeholders in the code. You can only define a constant once and it cannot be modified. Use the following statement to define a constant:</paragraph>
+ <paragraph role="paragraph" id="par_id3150542" l10n="U" xml-lang="en-US" oldref="8">CONST ConstName=Expression</paragraph>
+ <paragraph role="paragraph" id="par_id3150400" l10n="U" xml-lang="en-US" oldref="9">The type of expression is irrelevant. If a program is started, $[officename] Basic converts the program code internally so that each time a constant is used, the defined expression replaces it.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3154366" l10n="U" xml-lang="en-US" oldref="10">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3145420" l10n="U" xml-lang="en-US" oldref="11">Sub ExampleConst</paragraph>
+ <paragraph role="paragraph" id="par_id3154217" l10n="U" xml-lang="en-US" oldref="12">Const iVar = 1964</paragraph>
+ <paragraph role="paragraph" id="par_id3156281" l10n="U" xml-lang="en-US" oldref="13">Msgbox iVar</paragraph>
+ <paragraph role="paragraph" id="par_id3153969" l10n="U" xml-lang="en-US" oldref="14">Const sVar = &quot;Program&quot;, dVar As Double = 1.00</paragraph>
+ <paragraph role="paragraph" id="par_id3149560" l10n="U" xml-lang="en-US" oldref="15">Msgbox sVar &amp; &quot; &quot; &amp; dVar</paragraph>
+ <paragraph role="paragraph" id="par_id3153368" l10n="U" xml-lang="en-US" oldref="16">end sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03100900.xhp b/helpcontent2/source/text/sbasic/shared/03100900.xhp
new file mode 100755
index 0000000000..27ec34768d
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03100900.xhp
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03100900xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">CSng Function[Runtime]</title>
+<filename>/text/sbasic/shared/03100900.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="csng">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3153753"><bookmark_value>CSng; function</bookmark_value></bookmark><paragraph id="hd_id3153753" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03100900.xhp" name="CSng Function[Runtime]">CSng Function[Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3149748" l10n="U" xml-lang="en-US" oldref="2">Converts any string or numeric expression to data type Single.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3153255" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3148983" l10n="U" xml-lang="en-US" oldref="4">CSng (Expression)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3152347" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3153750" l10n="U" xml-lang="en-US" oldref="6">Single</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3146957" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3153345" xml-lang="en-US" oldref="8"><emph>Expression:</emph> Any string or numeric expression that you want to convert. To convert a string expression, the number must be entered as normal text (&quot;123.5&quot;) using the default number format of your operating system.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3149514" l10n="U" xml-lang="en-US" oldref="9">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3154142" l10n="U" xml-lang="en-US" oldref="10">Sub ExampleCSNG</paragraph>
+ <paragraph role="paragraph" id="par_id3147573" l10n="U" xml-lang="en-US" oldref="11">Msgbox CDbl(1234.5678)</paragraph>
+ <paragraph role="paragraph" id="par_id3150772" l10n="U" xml-lang="en-US" oldref="12">Msgbox CInt(1234.5678)</paragraph>
+ <paragraph role="paragraph" id="par_id3147531" l10n="U" xml-lang="en-US" oldref="13">Msgbox CLng(1234.5678)</paragraph>
+ <paragraph role="paragraph" id="par_id3147265" l10n="U" xml-lang="en-US" oldref="14">Msgbox CSng(1234.5678)</paragraph>
+ <paragraph role="paragraph" id="par_id3159414" l10n="U" xml-lang="en-US" oldref="15">end sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03101000.xhp b/helpcontent2/source/text/sbasic/shared/03101000.xhp
new file mode 100755
index 0000000000..14333fc76e
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03101000.xhp
@@ -0,0 +1,139 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03101000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">CStr Function [Runtime]</title>
+<filename>/text/sbasic/shared/03101000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="cstr">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3146958"><bookmark_value>CStr;function</bookmark_value></bookmark><paragraph id="hd_id3146958" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03101000.xhp" name="CStr Function [Runtime]">CStr Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3147574" l10n="U" xml-lang="en-US" oldref="2">Converts any numeric expression to a string expression.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3148473" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3145315" l10n="U" xml-lang="en-US" oldref="4">CStr (Expression)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3153062" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3153897" l10n="U" xml-lang="en-US" oldref="6">String</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3154760" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3149457" xml-lang="en-US" oldref="8"><emph>Expression:</emph> Any valid string or numeric expression that you want to convert.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3150358" l10n="U" xml-lang="en-US" oldref="9">Expression Types and Conversion Returns</paragraph>
+ <table id="tbl_id3148797">
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3153192" l10n="U" xml-lang="en-US" oldref="10">Boolean :</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph xml-lang="en-US" oldref="11" role="paragraph" id="par_id3156422" l10n="U">String that evaluates to either <emph>True</emph> or <emph>False</emph>.</paragraph>
+ </tablecell>
+ </tablerow>
+
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3147287" l10n="U" xml-lang="en-US" oldref="12">Date :</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3155411" l10n="U" xml-lang="en-US" oldref="13">String that contains the date and time.</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3147428" l10n="U" xml-lang="en-US" oldref="14">Null :</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3150486" l10n="U" xml-lang="en-US" oldref="15">Run-time error.</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3153953" l10n="U" xml-lang="en-US" oldref="16">Empty :</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3155306" l10n="U" xml-lang="en-US" oldref="17">String without any characters.</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3149260" l10n="U" xml-lang="en-US" oldref="18">Any :</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3152938" l10n="U" xml-lang="en-US" oldref="19">Corresponding number as string.</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+ <paragraph role="paragraph" id="par_id3155738" l10n="U" xml-lang="en-US" oldref="20">Zeros at the end of a floating-point number are not included in the returned string.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3154729" l10n="U" xml-lang="en-US" oldref="21">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3153878" l10n="U" xml-lang="en-US" oldref="22">Sub ExampleCSTR</paragraph>
+ <paragraph role="paragraph" id="par_id3154943" l10n="U" xml-lang="en-US" oldref="23">Dim sVar As String</paragraph>
+ <paragraph role="paragraph" id="par_id3156283" l10n="U" xml-lang="en-US" oldref="24">Msgbox CDbl(1234.5678)</paragraph>
+ <paragraph role="paragraph" id="par_id3147396" l10n="U" xml-lang="en-US" oldref="25">Msgbox CInt(1234.5678)</paragraph>
+ <paragraph role="paragraph" id="par_id3155600" l10n="U" xml-lang="en-US" oldref="26">Msgbox CLng(1234.5678)</paragraph>
+ <paragraph role="paragraph" id="par_id3153416" l10n="U" xml-lang="en-US" oldref="27">Msgbox CSng(1234.5678)</paragraph>
+ <paragraph role="paragraph" id="par_id3156559" l10n="U" xml-lang="en-US" oldref="28">sVar = CStr(1234.5678)</paragraph>
+ <paragraph role="paragraph" id="par_id3153947" l10n="U" xml-lang="en-US" oldref="29">MsgBox sVar</paragraph>
+ <paragraph role="paragraph" id="par_id3150327" l10n="U" xml-lang="en-US" oldref="30">end sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03101100.xhp b/helpcontent2/source/text/sbasic/shared/03101100.xhp
new file mode 100755
index 0000000000..bb70d35fcf
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03101100.xhp
@@ -0,0 +1,94 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03101100xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">DefBool Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03101100.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="defbool">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3145759"><bookmark_value>DefBool; statement</bookmark_value></bookmark><paragraph id="hd_id3145759" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03101100.xhp" name="DefBool Statement [Runtime]">DefBool Statement [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3153089" l10n="U" xml-lang="en-US" oldref="2">If no type-declaration character or keyword is specified, the DefBool statement sets the default data type for variables, according to a letter range.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3149495" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3150682" l10n="U" xml-lang="en-US" oldref="4">Defxxx Characterrange1[, Characterrange2[,...]]</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3159201" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3147226" xml-lang="en-US" oldref="6"><emph>Characterrange:</emph> Letters that specify the range of variables that you want to set the default data type for.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3149178" xml-lang="en-US" oldref="7"><emph>xxx:</emph> Keyword that defines the default variable type:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150669" xml-lang="en-US" oldref="8"><emph>Keyword: </emph>Default variable type</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3149233" xml-lang="en-US" oldref="9"><emph>DefBool:</emph> Boolean</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3149762" l10n="U" xml-lang="en-US" oldref="10">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3156152" l10n="U" xml-lang="en-US" oldref="12">REM Prefix definition for variable types:</paragraph>
+ <paragraph role="paragraph" id="par_id3153627" l10n="U" xml-lang="en-US" oldref="13">DefBool b</paragraph>
+ <paragraph role="paragraph" id="par_id3145610" l10n="U" xml-lang="en-US" oldref="14">DefDate t</paragraph>
+ <paragraph role="paragraph" id="par_id3154760" l10n="U" xml-lang="en-US" oldref="15">DefDbL d</paragraph>
+ <paragraph role="paragraph" id="par_id3148552" l10n="U" xml-lang="en-US" oldref="16">DefInt i</paragraph>
+ <paragraph role="paragraph" id="par_id3152812" l10n="U" xml-lang="en-US" oldref="17">DefLng l</paragraph>
+ <paragraph role="paragraph" id="par_id3153524" l10n="U" xml-lang="en-US" oldref="18">DefObj o</paragraph>
+ <paragraph role="paragraph" id="par_id3150541" l10n="U" xml-lang="en-US" oldref="19">DefVar v</paragraph>
+
+ <paragraph role="paragraph" id="par_id3153193" l10n="U" xml-lang="en-US" oldref="21">Sub ExampleDefBool</paragraph>
+ <paragraph role="paragraph" id="par_id3151381" l10n="U" xml-lang="en-US" oldref="22">bOK=TRUE REM bOK is an implicit Boolean variable</paragraph>
+ <paragraph role="paragraph" id="par_id3145421" l10n="U" xml-lang="en-US" oldref="23">end sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03101300.xhp b/helpcontent2/source/text/sbasic/shared/03101300.xhp
new file mode 100755
index 0000000000..07b2842b95
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03101300.xhp
@@ -0,0 +1,94 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03101300xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">DefDate Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03101300.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="defdate">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3150504"><bookmark_value>DefDate;statement</bookmark_value></bookmark><paragraph id="hd_id3150504" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03101300.xhp" name="DefDate Statement [Runtime]">DefDate Statement [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3145069" l10n="U" xml-lang="en-US" oldref="2">If no type-declaration character or keyword is specified, the DefDate statement sets the default variable type, according to a letter range.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3154758" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3148664" l10n="U" xml-lang="en-US" oldref="4">Defxxx Characterrange1[, Characterrange2[,...]]</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3150541" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3156709" xml-lang="en-US" oldref="6"><emph>Characterrange:</emph> Letters that specify the range of variables that you want to set a default data type for.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150869" xml-lang="en-US" oldref="7"><emph>xxx:</emph> Keyword that defines the default variable type:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3145171" xml-lang="en-US" oldref="8"><emph>Keyword:</emph> Default variable type</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150767" xml-lang="en-US" oldref="9"><emph>DefDate:</emph> Date</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3153768" l10n="U" xml-lang="en-US" oldref="10">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3145785" l10n="U" xml-lang="en-US" oldref="12">REM Prefix definitions for variable types:</paragraph>
+ <paragraph role="paragraph" id="par_id3146923" l10n="U" xml-lang="en-US" oldref="13">DefBool b</paragraph>
+ <paragraph role="paragraph" id="par_id3155412" l10n="U" xml-lang="en-US" oldref="14">DefDate t</paragraph>
+ <paragraph role="paragraph" id="par_id3153726" l10n="U" xml-lang="en-US" oldref="15">DefDbL d</paragraph>
+ <paragraph role="paragraph" id="par_id3147435" l10n="U" xml-lang="en-US" oldref="16">DefInt i</paragraph>
+ <paragraph role="paragraph" id="par_id3153188" l10n="U" xml-lang="en-US" oldref="17">DefLng l</paragraph>
+ <paragraph role="paragraph" id="par_id3153143" l10n="U" xml-lang="en-US" oldref="18">DefObj o</paragraph>
+ <paragraph role="paragraph" id="par_id3150010" l10n="U" xml-lang="en-US" oldref="19">DefVar v</paragraph>
+
+ <paragraph role="paragraph" id="par_id3149263" l10n="U" xml-lang="en-US" oldref="21">Sub ExampleDefDate</paragraph>
+ <paragraph role="paragraph" id="par_id3152462" l10n="U" xml-lang="en-US" oldref="22">tDate=Date REM tDate is an implicit date variable</paragraph>
+ <paragraph role="paragraph" id="par_id3149664" l10n="U" xml-lang="en-US" oldref="23">end sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03101400.xhp b/helpcontent2/source/text/sbasic/shared/03101400.xhp
new file mode 100755
index 0000000000..ee4153ac22
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03101400.xhp
@@ -0,0 +1,94 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03101400xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">DefDbl Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03101400.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="defdbl">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3147242"><bookmark_value>DefDbl;statement</bookmark_value></bookmark><paragraph id="hd_id3147242" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03101400.xhp" name="DefDbl Statement [Runtime]">DefDbl Statement [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3153126" l10n="U" xml-lang="en-US" oldref="2">Sets the default variable type, according to a letter range, if no type-declaration character or keyword is specified.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3155420" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3147530" l10n="U" xml-lang="en-US" oldref="4">Defxxx Characterrange1[, Characterrange2[,...]]</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3145069" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3147560" xml-lang="en-US" oldref="6"><emph>Characterrange:</emph> Letters that specify the range of variables that you want to set the default data type for.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150791" xml-lang="en-US" oldref="7"><emph>xxx:</emph> Keyword that defines the default variable type:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3151210" xml-lang="en-US" oldref="8"><emph>Keyword:</emph> Default variable type</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3154123" xml-lang="en-US" oldref="9"><emph>DefDbl:</emph> Double</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3153192" l10n="U" xml-lang="en-US" oldref="10">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3156281" l10n="U" xml-lang="en-US" oldref="12">REM Prefix definitions for variable types:</paragraph>
+ <paragraph role="paragraph" id="par_id3153970" l10n="U" xml-lang="en-US" oldref="13">DefBool b</paragraph>
+ <paragraph role="paragraph" id="par_id3149561" l10n="U" xml-lang="en-US" oldref="14">DefDate t</paragraph>
+ <paragraph role="paragraph" id="par_id3147288" l10n="U" xml-lang="en-US" oldref="15">DefDbL d</paragraph>
+ <paragraph role="paragraph" id="par_id3150487" l10n="U" xml-lang="en-US" oldref="16">DefInt i</paragraph>
+ <paragraph role="paragraph" id="par_id3151116" l10n="U" xml-lang="en-US" oldref="17">DefLng l</paragraph>
+ <paragraph role="paragraph" id="par_id3146922" l10n="U" xml-lang="en-US" oldref="18">DefObj o</paragraph>
+ <paragraph role="paragraph" id="par_id3146984" l10n="U" xml-lang="en-US" oldref="19">DefVar v</paragraph>
+
+ <paragraph role="paragraph" id="par_id3147436" l10n="U" xml-lang="en-US" oldref="21">Sub ExampleDefDBL</paragraph>
+ <paragraph role="paragraph" id="par_id3153144" l10n="U" xml-lang="en-US" oldref="22">dValue=1.23e43 REM dValue is an implicit Double variable type</paragraph>
+ <paragraph role="paragraph" id="par_id3152941" l10n="U" xml-lang="en-US" oldref="23">end sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03101500.xhp b/helpcontent2/source/text/sbasic/shared/03101500.xhp
new file mode 100755
index 0000000000..a745f53f54
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03101500.xhp
@@ -0,0 +1,94 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03101500xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">DefInt Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03101500.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="defint">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3149811"><bookmark_value>DefInt;statement</bookmark_value></bookmark><paragraph id="hd_id3149811" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03101500.xhp" name="DefInt Statement [Runtime]">DefInt Statement [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3149762" l10n="U" xml-lang="en-US" oldref="2">Sets the default variable type, according to a letter range, if no type-declaration character or keyword is specified.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3148686" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3156023" l10n="U" xml-lang="en-US" oldref="4">Defxxx Characterrange1[, Characterrange2[,...]]</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3156344" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3147560" xml-lang="en-US" oldref="6"><emph>Characterrange:</emph> Letters that specify the range of variables that you want to set a default data type for.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150398" xml-lang="en-US" oldref="7"><emph>xxx:</emph> Keyword that defines the default variable type:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3154365" xml-lang="en-US" oldref="8"><emph>Keyword:</emph> Default variable type</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3125863" xml-lang="en-US" oldref="9"><emph>DefInt:</emph> Integer</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3154123" l10n="U" xml-lang="en-US" oldref="10">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3151042" l10n="U" xml-lang="en-US" oldref="12">REM Prefix definitions for variable types</paragraph>
+ <paragraph role="paragraph" id="par_id3156424" l10n="U" xml-lang="en-US" oldref="13">DefBool b</paragraph>
+ <paragraph role="paragraph" id="par_id3159254" l10n="U" xml-lang="en-US" oldref="14">DefDate t</paragraph>
+ <paragraph role="paragraph" id="par_id3150440" l10n="U" xml-lang="en-US" oldref="15">DefDbL d</paragraph>
+ <paragraph role="paragraph" id="par_id3155855" l10n="U" xml-lang="en-US" oldref="16">DefInt i</paragraph>
+ <paragraph role="paragraph" id="par_id3152885" l10n="U" xml-lang="en-US" oldref="17">DefLng l</paragraph>
+ <paragraph role="paragraph" id="par_id3148646" l10n="U" xml-lang="en-US" oldref="18">DefObj o</paragraph>
+ <paragraph role="paragraph" id="par_id3153951" l10n="U" xml-lang="en-US" oldref="19">DefVar v</paragraph>
+
+ <paragraph role="paragraph" id="par_id3146924" l10n="U" xml-lang="en-US" oldref="21">Sub ExampleDefInt</paragraph>
+ <paragraph role="paragraph" id="par_id3153728" l10n="U" xml-lang="en-US" oldref="22">iCount=200 REM iCount is an implicit integer variable</paragraph>
+ <paragraph role="paragraph" id="par_id3150010" l10n="U" xml-lang="en-US" oldref="23">end sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03101600.xhp b/helpcontent2/source/text/sbasic/shared/03101600.xhp
new file mode 100755
index 0000000000..151f0c922e
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03101600.xhp
@@ -0,0 +1,94 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03101600xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">DefLng Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03101600.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="deflng">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3148538"><bookmark_value>DefLng;statement</bookmark_value></bookmark><paragraph id="hd_id3148538" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03101600.xhp" name="DefLng Statement [Runtime]">DefLng Statement [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3149514" l10n="U" xml-lang="en-US" oldref="2">Sets the default variable type, according to a letter range, if no type-declaration character or keyword is specified.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3150504" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3145609" l10n="U" xml-lang="en-US" oldref="4">Defxxx Characterrange1[, Characterrange2[,...]]</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3154760" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3145069" xml-lang="en-US" oldref="6"><emph>Characterrange:</emph> Letters that specify the range of variables that you want to set the default data type for.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150791" xml-lang="en-US" oldref="7"><emph>xxx:</emph> Keyword that defines the default variable type:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3148798" xml-lang="en-US" oldref="8"><emph>Keyword: </emph>Default variable type</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3154686" xml-lang="en-US" oldref="9"><emph>DefLng:</emph> Long</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3153192" l10n="U" xml-lang="en-US" oldref="10">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3154124" l10n="U" xml-lang="en-US" oldref="12">REM Prefix definitions for variable types:</paragraph>
+ <paragraph role="paragraph" id="par_id3156424" l10n="U" xml-lang="en-US" oldref="13">DefBool b</paragraph>
+ <paragraph role="paragraph" id="par_id3147288" l10n="U" xml-lang="en-US" oldref="14">DefDate t</paragraph>
+ <paragraph role="paragraph" id="par_id3149561" l10n="U" xml-lang="en-US" oldref="15">DefDbL d</paragraph>
+ <paragraph role="paragraph" id="par_id3153092" l10n="U" xml-lang="en-US" oldref="16">DefInt i</paragraph>
+ <paragraph role="paragraph" id="par_id3148616" l10n="U" xml-lang="en-US" oldref="17">DefLng l</paragraph>
+ <paragraph role="paragraph" id="par_id3153189" l10n="U" xml-lang="en-US" oldref="18">DefObj o</paragraph>
+ <paragraph role="paragraph" id="par_id3152576" l10n="U" xml-lang="en-US" oldref="19">DefVar v</paragraph>
+
+ <paragraph role="paragraph" id="par_id3146121" l10n="U" xml-lang="en-US" oldref="21">Sub ExampleDefLng</paragraph>
+ <paragraph role="paragraph" id="par_id3145273" l10n="U" xml-lang="en-US" oldref="22">lCount=123456789 REM lCount is an implicit long integer variable</paragraph>
+ <paragraph role="paragraph" id="par_id3152596" l10n="U" xml-lang="en-US" oldref="23">end sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03101700.xhp b/helpcontent2/source/text/sbasic/shared/03101700.xhp
new file mode 100755
index 0000000000..d8c1530e3e
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03101700.xhp
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03101700xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">DefObj Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03101700.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="defobj">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3149811"><bookmark_value>DefObj;statement</bookmark_value></bookmark><paragraph id="hd_id3149811" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03101700.xhp" name="DefObj Statement [Runtime]">DefObj Statement [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3147573" l10n="U" xml-lang="en-US" oldref="2">Sets the default variable type, according to a letter range, if no type-declaration character or keyword is specified.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3150504" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3147530" l10n="U" xml-lang="en-US" oldref="4">Defxxx Characterrange1[, Characterrange2[,...]]</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3153896" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3148552" xml-lang="en-US" oldref="6"><emph>Characterrange:</emph> Letters that specify the range of variables that you want to set the default data type for.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150358" xml-lang="en-US" oldref="7"><emph>xxx:</emph> Keyword that defines the default variable type:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3148798" xml-lang="en-US" oldref="8"><emph>Keyword: </emph>Default variable type</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150769" xml-lang="en-US" oldref="9"><emph>DefObj:</emph> Object</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3156212" l10n="U" xml-lang="en-US" oldref="10">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3153969" l10n="U" xml-lang="en-US" oldref="12">REM Prefix definitions for variable types:</paragraph>
+ <paragraph role="paragraph" id="par_id3156424" l10n="U" xml-lang="en-US" oldref="13">DefBool b</paragraph>
+ <paragraph role="paragraph" id="par_id3159254" l10n="U" xml-lang="en-US" oldref="14">DefDate t</paragraph>
+ <paragraph role="paragraph" id="par_id3150440" l10n="U" xml-lang="en-US" oldref="15">DefDbL d</paragraph>
+ <paragraph role="paragraph" id="par_id3161832" l10n="U" xml-lang="en-US" oldref="16">DefInt i</paragraph>
+ <paragraph role="paragraph" id="par_id3145365" l10n="U" xml-lang="en-US" oldref="17">DefLng l</paragraph>
+ <paragraph role="paragraph" id="par_id3149481" l10n="U" xml-lang="en-US" oldref="18">DefObj o</paragraph>
+ <paragraph role="paragraph" id="par_id3152886" l10n="U" xml-lang="en-US" oldref="19">DefVar v</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03102000.xhp b/helpcontent2/source/text/sbasic/shared/03102000.xhp
new file mode 100755
index 0000000000..90544c4b14
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03102000.xhp
@@ -0,0 +1,95 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03102000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">DefVar Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03102000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="defvar">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3143267"><bookmark_value>DefVar;statement</bookmark_value></bookmark><paragraph id="hd_id3143267" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03102000.xhp" name="DefVar Statement [Runtime]">DefVar Statement [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3153825" l10n="U" xml-lang="en-US" oldref="2">Sets the default variable type, according to a letter range, if no type-declaration character or keyword is specified.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3154143" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3149514" l10n="U" xml-lang="en-US" oldref="4">Defxxx Characterrange1[, Characterrange2[,...]]</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3156024" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3147560" xml-lang="en-US" oldref="6"><emph>Characterrange:</emph> Letters that specify the range of variables that you want to set the default data type for.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3148552" xml-lang="en-US" oldref="7"><emph>xxx:</emph> Keyword that defines the default variable type:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3153524" xml-lang="en-US" oldref="8"><emph>Keyword: </emph>Default variable type</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150767" xml-lang="en-US" oldref="9"><emph>DefVar:</emph> Variant</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3151041" l10n="U" xml-lang="en-US" oldref="10">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3156214" l10n="U" xml-lang="en-US" oldref="11">REM Prefix definitions for variable types:</paragraph>
+ <paragraph role="paragraph" id="par_id3145173" l10n="U" xml-lang="en-US" oldref="12">DefBool b</paragraph>
+ <paragraph role="paragraph" id="par_id3150448" l10n="U" xml-lang="en-US" oldref="13">DefDate t</paragraph>
+ <paragraph role="paragraph" id="par_id3153368" l10n="U" xml-lang="en-US" oldref="14">DefDbL d</paragraph>
+ <paragraph role="paragraph" id="par_id3155132" l10n="U" xml-lang="en-US" oldref="15">DefInt i</paragraph>
+ <paragraph role="paragraph" id="par_id3155855" l10n="U" xml-lang="en-US" oldref="16">DefLng l</paragraph>
+ <paragraph role="paragraph" id="par_id3147426" l10n="U" xml-lang="en-US" oldref="17">DefObj o</paragraph>
+ <paragraph role="paragraph" id="par_id3151117" l10n="U" xml-lang="en-US" oldref="18">DefVar v</paragraph>
+
+ <paragraph role="paragraph" id="par_id3148645" l10n="U" xml-lang="en-US" oldref="20">Sub ExampleDefVar</paragraph>
+ <paragraph role="paragraph" id="par_id3154012" l10n="U" xml-lang="en-US" oldref="21">vDiv=99 REM vDiv is an implicit variant</paragraph>
+ <paragraph role="paragraph" id="par_id3146121" l10n="U" xml-lang="en-US" oldref="22">vDiv=&quot;Hello world&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3149262" l10n="U" xml-lang="en-US" oldref="23">end sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03102100.xhp b/helpcontent2/source/text/sbasic/shared/03102100.xhp
new file mode 100644
index 0000000000..6124a45c32
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03102100.xhp
@@ -0,0 +1,146 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03102100xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Dim Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03102100.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-06-15T17:38:35">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="dimtext">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3149812"><bookmark_value>Dim;statement</bookmark_value>
+<bookmark_value>arrays;dimensioning</bookmark_value>
+<bookmark_value>dimensioning;arrays</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3149812" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03102100.xhp" name="Dim Statement [Runtime]">Dim Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3143271" xml-lang="en-US" l10n="U" oldref="2">Declares a variable or an array.</paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3154686" xml-lang="en-US" l10n="U" oldref="3">If the variables are separated by commas (for example, DIM sPar1, sPar2, sPar3 AS STRING), only Variant variables can be defined. Use a separate definition line for each variable.</paragraph>
+<paragraph role="code" id="par_id3156422" xml-lang="en-US" l10n="U" oldref="4">DIM sPar1 AS STRING</paragraph>
+<paragraph role="code" id="par_id3159252" xml-lang="en-US" l10n="U" oldref="5">DIM sPar2 AS STRING</paragraph>
+<paragraph role="code" id="par_id3153142" xml-lang="en-US" l10n="U" oldref="6">DIM sPar3 AS STRING</paragraph>
+<paragraph role="paragraph" id="par_id3152576" xml-lang="en-US" l10n="U" oldref="7">Dim declares local variables within subroutines. Global variables are declared with the PUBLIC or the PRIVATE statement.</paragraph>
+<paragraph role="heading" id="hd_id3156443" xml-lang="en-US" level="2" l10n="U" oldref="8">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3149412" xml-lang="en-US" l10n="U" oldref="9">[ReDim]Dim VarName [(start To end)] [As VarType][, VarName2 [(start To end)] [As VarType][,...]]</paragraph>
+<paragraph role="heading" id="hd_id3147397" xml-lang="en-US" level="2" l10n="U" oldref="10">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3154730" xml-lang="en-US" l10n="U" oldref="11">
+<emph>VarName:</emph> Any variable or array name.</paragraph>
+<paragraph role="paragraph" id="par_id3147125" xml-lang="en-US" l10n="U" oldref="12">
+<emph>Start, End:</emph> Numerical values or constants ranging from -32768 to 32767 that define the number of elements (NumberElements=(end-start)+1) and the index range.</paragraph>
+<paragraph role="paragraph" id="par_id3153877" xml-lang="en-US" l10n="U" oldref="13">Start and End can be numerical expressions if ReDim is applied at the procedure level.</paragraph>
+<paragraph role="paragraph" id="par_id3153510" xml-lang="en-US" l10n="U" oldref="14">
+<emph>VarType:</emph> Key word that declares the data type of a variable.</paragraph>
+<paragraph role="paragraph" id="par_id3154015" xml-lang="en-US" l10n="U" oldref="15">
+<emph>Keyword:</emph> Variable type</paragraph>
+<paragraph role="paragraph" id="par_id3153949" xml-lang="en-US" l10n="U" oldref="16">
+<emph>Bool:</emph> Boolean variable (True, False)</paragraph>
+<paragraph role="paragraph" id="par_id3156275" xml-lang="en-US" l10n="U" oldref="17">
+<emph>Currency:</emph> Currency-Variable (Currency with 4 Decimal places)</paragraph>
+<paragraph role="paragraph" id="par_id3156057" xml-lang="en-US" l10n="U" oldref="18">
+<emph>Date:</emph> Date variable</paragraph>
+<paragraph role="paragraph" id="par_id3148405" xml-lang="en-US" l10n="U" oldref="19">
+<emph>Double:</emph> Double-precision floating-point variable (1,79769313486232 x 10E308 - 4,94065645841247 x 10E-324)</paragraph>
+<paragraph role="paragraph" id="par_id3148916" xml-lang="en-US" l10n="U" oldref="20">
+<emph>Integer:</emph> Integer variable (-32768 - 32767)</paragraph>
+<paragraph role="paragraph" id="par_id3150045" xml-lang="en-US" l10n="U" oldref="21">
+<emph>Long:</emph> Long integer variable (-2.147.483.648 - 2.147.483.647)</paragraph>
+<paragraph role="paragraph" id="par_id3149255" xml-lang="en-US" l10n="U" oldref="22">
+<emph>Object:</emph> Object variable (Note: this variable can only subsequently be defined with Set!)</paragraph>
+<paragraph role="paragraph" id="par_id3155937" xml-lang="en-US" l10n="U" oldref="23">
+<emph>Single:</emph> Single-precision floating-point variable (3,402823 x 10E38 - 1,401298 x 10E-45).</paragraph>
+<paragraph role="paragraph" id="par_id3151251" xml-lang="en-US" l10n="U" oldref="24">
+<emph>String:</emph> String variable consisting of a maximum of 64,000 ASCII characters.</paragraph>
+<paragraph role="paragraph" id="par_id3154704" xml-lang="en-US" l10n="U" oldref="25">
+<emph>[Variant]:</emph> Variant variable type (contains all types, specified by definition). If a key word is not specified, variables are automatically defined as Variant Type, unless a statement from DefBool to DefVar is used.</paragraph>
+<paragraph role="paragraph" id="par_id3146316" xml-lang="en-US" l10n="U" oldref="26">In $[officename] Basic, you do not need to declare variables explicitly. However, you need to declare an array before you can use them. You can declare a variable with the Dim statement, using commas to separate multiple declarations. To declare a variable type, enter a type-declaration character following the name or use a corresponding key word.</paragraph>
+<paragraph role="paragraph" id="par_id3149924" xml-lang="en-US" l10n="U" oldref="27">$[officename] Basic supports single or multi-dimensional arrays that are defined by a specified variable type. Arrays are suitable if the program contains lists or tables that you want to edit. The advantage of arrays is that it is possible to address individual elements according to indexes, which can be formulated as numeric expressions or variables.</paragraph>
+<paragraph role="paragraph" id="par_id3148488" xml-lang="en-US" l10n="U" oldref="28">Arrays are declared with the Dim statement. There are two methods to define the index range:</paragraph>
+<paragraph role="paragraph" id="par_id3154662" xml-lang="en-US" l10n="U" oldref="29">DIM text(20) as String REM 21 elements numbered from 0 to 20</paragraph>
+<paragraph role="paragraph" id="par_id3155604" xml-lang="en-US" l10n="U" oldref="30">DIM text(5 to 25) as String REM 21 elements numbered from 5 to 25</paragraph>
+<paragraph role="paragraph" id="par_id3151274" xml-lang="en-US" l10n="U" oldref="31">DIM text(-15 to 5) as String REM 21 elements (including 0)</paragraph>
+<paragraph role="paragraph" id="par_id3152774" xml-lang="en-US" l10n="U" oldref="32">REM numbered from -15 to 5</paragraph>
+<paragraph role="paragraph" id="par_id3150829" xml-lang="en-US" l10n="U" oldref="33">Two-dimensional data field</paragraph>
+<paragraph role="paragraph" id="par_id3149529" xml-lang="en-US" l10n="U" oldref="34">DIM text(20,2) as String REM 63 elements; form 0 to 20 level 1, from 0 to 20 level 2 and from 0 to 20 level 3.</paragraph>
+<paragraph role="paragraph" id="par_id3159239" xml-lang="en-US" l10n="U" oldref="35">You can declare an array types as dynamic if a ReDim statement defines the number of dimensions in the subroutine or the function that contains the array. Generally, you can only define an array dimension once, and you cannot modify it. Within a subroutine, you can declare an array with ReDim. You can only define dimensions with numeric expressions. This ensures that the fields are only as large as necessary.</paragraph>
+<paragraph role="heading" id="hd_id3150344" xml-lang="en-US" level="2" l10n="U" oldref="36">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3150206" xml-lang="en-US" l10n="U" oldref="37">Sub ExampleDim1</paragraph>
+<paragraph role="paragraph" id="par_id3154201" xml-lang="en-US" l10n="U" oldref="38">Dim sVar As String</paragraph>
+<paragraph role="paragraph" id="par_id3146134" xml-lang="en-US" l10n="U" oldref="39">Dim iVar As Integer</paragraph>
+<paragraph role="paragraph" id="par_id3154657" xml-lang="en-US" l10n="U" oldref="40">sVar = "Star Office"</paragraph>
+<paragraph role="paragraph" id="par_id3148459" xml-lang="en-US" l10n="U" oldref="41">End Sub</paragraph>
+<paragraph role="paragraph" id="par_id3166424" xml-lang="en-US" l10n="U" oldref="43">Sub ExampleDim2</paragraph>
+<paragraph role="paragraph" id="par_id3149036" xml-lang="en-US" l10n="U" oldref="44">REM Two-dimensional data field</paragraph>
+<paragraph role="paragraph" id="par_id3149737" xml-lang="en-US" l10n="U" oldref="45">Dim stext(20,2) as String</paragraph>
+<paragraph role="paragraph" id="par_id3153782" xml-lang="en-US" l10n="U" oldref="46">Const sDim as String = " Dimension:"</paragraph>
+<paragraph role="paragraph" id="par_id3150518" xml-lang="en-US" l10n="U" oldref="48">for i = 0 to 20</paragraph>
+<paragraph role="paragraph" id="par_id3166428" xml-lang="en-US" l10n="U" oldref="49">for ii = 0 to 2</paragraph>
+<paragraph role="paragraph" id="par_id3152994" xml-lang="en-US" l10n="U" oldref="50">stext(i,ii) = str(i) &amp; sDim &amp; str(ii)</paragraph>
+<paragraph role="paragraph" id="par_id3150202" xml-lang="en-US" l10n="U" oldref="51">next ii</paragraph>
+<paragraph role="paragraph" id="par_id3154370" xml-lang="en-US" l10n="U" oldref="52">next i</paragraph>
+<paragraph role="paragraph" id="par_id3156166" xml-lang="en-US" l10n="U" oldref="54">for i = 0 to 20</paragraph>
+<paragraph role="paragraph" id="par_id3148815" xml-lang="en-US" l10n="U" oldref="55">for ii = 0 to 2</paragraph>
+<paragraph role="paragraph" id="par_id3146981" xml-lang="en-US" l10n="U" oldref="56">msgbox stext(i,ii)</paragraph>
+<paragraph role="paragraph" id="par_id3155125" xml-lang="en-US" l10n="U" oldref="57">next ii</paragraph>
+<paragraph role="paragraph" id="par_id3154528" xml-lang="en-US" l10n="U" oldref="58">next i</paragraph>
+<paragraph role="paragraph" id="par_id3155087" xml-lang="en-US" l10n="U" oldref="59">End Sub</paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03102101.xhp b/helpcontent2/source/text/sbasic/shared/03102101.xhp
new file mode 100755
index 0000000000..915ca681bb
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03102101.xhp
@@ -0,0 +1,127 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03102101xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">ReDim Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03102101.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-05-10T13:49:18">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="redim">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150398"><bookmark_value>ReDim;statement</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3150398" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03102101.xhp" name="ReDim Statement [Runtime]">ReDim Statement [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3154685" xml-lang="en-US" l10n="U" oldref="2">Declares a variable or an array.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3154218" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3156214" xml-lang="en-US" l10n="U" oldref="4">[ReDim]Dim VarName [(start To end)] [As VarType][, VarName2 [(start To end)] [As VarType][,...]]</paragraph>
+<paragraph role="paragraph" id="par_id711996" xml-lang="en-US" l10n="NEW">Optionally, you can add the <emph>Preserve</emph> keyword as a parameter to preserve the contents of the array that is redimensioned.</paragraph>
+<paragraph role="heading" id="hd_id3148451" xml-lang="en-US" level="2" l10n="U" oldref="5">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3156423" xml-lang="en-US" l10n="U" oldref="6">
+<emph>VarName:</emph> Any variable or array name.</paragraph>
+<paragraph role="paragraph" id="par_id3149562" xml-lang="en-US" l10n="U" oldref="7">
+<emph>Start, End:</emph> Numerical values or constants ranging from -32768 to 32767 that define the number of elements (NumberElements=(end-start)+1) and the index range.</paragraph>
+<paragraph role="paragraph" id="par_id3155307" xml-lang="en-US" l10n="U" oldref="8">Start and End can be numeric expressions if ReDim is used at the procedure level.</paragraph>
+<paragraph role="paragraph" id="par_id3153951" xml-lang="en-US" l10n="U" oldref="9">
+<emph>VarType:</emph> Keyword that declares the data type of a variable.</paragraph>
+<paragraph role="paragraph" id="par_id3147317" xml-lang="en-US" l10n="U" oldref="10">
+<emph>Keyword:</emph> Variable type</paragraph>
+<paragraph role="paragraph" id="par_id3153728" xml-lang="en-US" l10n="U" oldref="11">
+<emph>Bool: </emph>Boolean variable (True, False)</paragraph>
+<paragraph role="paragraph" id="par_id3146121" xml-lang="en-US" l10n="U" oldref="12">
+<emph>Date:</emph> Date variable</paragraph>
+<paragraph role="paragraph" id="par_id3159156" xml-lang="en-US" l10n="U" oldref="13">
+<emph>Double:</emph> Double floating point variable (1.79769313486232 x 10E308 - 4.94065645841247 x 10E-324)</paragraph>
+<paragraph role="paragraph" id="par_id3148616" xml-lang="en-US" l10n="U" oldref="14">
+<emph>Integer:</emph> Integer variable (-32768 - 32767)</paragraph>
+<paragraph role="paragraph" id="par_id3147348" xml-lang="en-US" l10n="U" oldref="15">
+<emph>Long:</emph> Long integer variable (-2,147,483,648 - 2,147,483,647)</paragraph>
+<paragraph role="paragraph" id="par_id3149412" xml-lang="en-US" l10n="U" oldref="16">
+<emph>Object:</emph> Object variable (can only be subsequently defined by Set!)</paragraph>
+<paragraph role="paragraph" id="par_id3154729" xml-lang="en-US" l10n="U" oldref="17">
+<emph>[Single]:</emph> Single floating-point variable (3.402823 x 10E38 - 1.401298 x 10E-45). If no key word is specified, a variable is defined as Single, unless a statement from DefBool to DefVar is used.</paragraph>
+<paragraph role="paragraph" id="par_id3148458" xml-lang="en-US" l10n="U" oldref="18">
+<emph>String:</emph> String variable containing a maximum of 64,000 ASCII characters.</paragraph>
+<paragraph role="paragraph" id="par_id3149581" xml-lang="en-US" l10n="U" oldref="19">
+<emph>Variant: </emph>Variant variable type (can contain all types and is set by definition).</paragraph>
+<paragraph role="paragraph" id="par_id3155601" xml-lang="en-US" l10n="U" oldref="20">In $[officename] Basic, you do not need to declare variables explicitly. However, you need to declare an array before you can use them. You can declare a variable with the Dim statement, using commas to separate multiple declarations. To declare a variable type, enter a type-declaration character following the name or use a corresponding key word.</paragraph>
+<paragraph role="paragraph" id="par_id3153415" xml-lang="en-US" l10n="U" oldref="21">$[officename] Basic supports single or multi-dimensional arrays that are defined by a specified variable type. Arrays are suitable if the program contains lists or tables that you want to edit. The advantage of arrays is that it is possible to address individual elements according to indexes, which can be formulated as numeric expressions or variables.</paragraph>
+<paragraph role="paragraph" id="par_id3146971" xml-lang="en-US" l10n="U" oldref="22">There are two ways to set the range of indices for arrays declared with the Dim statement:</paragraph>
+<paragraph role="paragraph" id="par_id3153950" xml-lang="en-US" l10n="U" oldref="23">DIM text(20) As String REM 21 elements numbered from 0 to 20</paragraph>
+<paragraph role="paragraph" id="par_id3146912" xml-lang="en-US" l10n="U" oldref="24">DIM text(5 to 25) As String REM 21 elements numbered from 5 to 25</paragraph>
+<paragraph role="paragraph" id="par_id3153709" xml-lang="en-US" l10n="U" oldref="25">DIM text$(-15 to 5) As String REM 21 elements (0 inclusive),</paragraph>
+<paragraph role="paragraph" id="par_id3150321" xml-lang="en-US" l10n="U" oldref="26">rem numbered from -15 to 5</paragraph>
+<paragraph role="paragraph" id="par_id3149018" xml-lang="en-US" l10n="U" oldref="27">Variable fields, regardless of type, can be made dynamic if they are dimensioned by ReDim at the procedure level in subroutines or functions. Normally, you can only set the range of an array once and you cannot modify it. Within a procedure, you can declare an array using the ReDim statement with numeric expressions to define the range of the field sizes.</paragraph>
+<paragraph role="heading" id="hd_id3148405" xml-lang="en-US" level="2" l10n="U" oldref="28">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3154362" xml-lang="en-US" l10n="U" oldref="29">Sub ExampleRedim</paragraph>
+<paragraph role="paragraph" id="par_id3150042" xml-lang="en-US" l10n="U" oldref="30">Dim iVar() As Integer, iCount As Integer</paragraph>
+<paragraph role="paragraph" id="par_id3147339" xml-lang="en-US" l10n="U" oldref="31">ReDim iVar(5) As integer</paragraph>
+<paragraph role="paragraph" id="par_id3149106" xml-lang="en-US" l10n="U" oldref="32">For iCount = 1 To 5</paragraph>
+<paragraph role="paragraph" id="par_id3155174" xml-lang="en-US" l10n="U" oldref="33">iVar(iCount) = iCount</paragraph>
+<paragraph role="paragraph" id="par_id3163805" xml-lang="en-US" l10n="U" oldref="34">Next iCount</paragraph>
+<paragraph role="paragraph" id="par_id3149568" xml-lang="en-US" l10n="U" oldref="35">ReDim iVar(10) As integer</paragraph>
+<paragraph role="paragraph" id="par_id3147364" xml-lang="en-US" l10n="U" oldref="36">For iCount = 1 To 10</paragraph>
+<paragraph role="paragraph" id="par_id3155335" xml-lang="en-US" l10n="U" oldref="37">iVar(iCount) = iCount</paragraph>
+<paragraph role="paragraph" id="par_id3154662" xml-lang="en-US" l10n="U" oldref="38">Next iCount</paragraph>
+<paragraph role="paragraph" id="par_id3149926" xml-lang="en-US" l10n="U" oldref="39">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03102200.xhp b/helpcontent2/source/text/sbasic/shared/03102200.xhp
new file mode 100755
index 0000000000..3612f606f8
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03102200.xhp
@@ -0,0 +1,87 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03102200xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">IsArray Function [Runtime]</title>
+<filename>/text/sbasic/shared/03102200.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="isarray">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3154346"><bookmark_value>IsArray;function</bookmark_value></bookmark><paragraph id="hd_id3154346" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03102200.xhp" name="IsArray Function [Runtime]">IsArray Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3159413" l10n="U" xml-lang="en-US" oldref="2">Determines if a variable is a data field in an array.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3150792" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3153379" l10n="U" xml-lang="en-US" oldref="4">IsArray (Var)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3154365" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3154685" l10n="U" xml-lang="en-US" oldref="6">Bool</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3153969" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" xml-lang="en-US" oldref="8" role="paragraph" id="par_id3145172"><emph>Var:</emph> Any variable that you want to test if it is declared as an array. If the variable is an array, then the function returns <emph>True</emph>, otherwise <emph>False </emph>is returned.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3155131" l10n="U" xml-lang="en-US" oldref="9">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3153365" l10n="U" xml-lang="en-US" oldref="10">Sub ExampleIsArray</paragraph>
+ <paragraph role="paragraph" id="par_id3150487" l10n="U" xml-lang="en-US" oldref="11">Dim sDatf(10) as String</paragraph>
+ <paragraph role="paragraph" id="par_id3155414" l10n="U" xml-lang="en-US" oldref="12">print isarray(sdatf())</paragraph>
+ <paragraph role="paragraph" id="par_id3153727" l10n="U" xml-lang="en-US" oldref="13">end Sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03102300.xhp b/helpcontent2/source/text/sbasic/shared/03102300.xhp
new file mode 100755
index 0000000000..6c19acb4f0
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03102300.xhp
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03102300xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">IsDate Function [Runtime]</title>
+<filename>/text/sbasic/shared/03102300.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="isdate">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3145090"><bookmark_value>IsDate;function</bookmark_value></bookmark><paragraph id="hd_id3145090" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03102300.xhp" name="IsDate Function [Runtime]">IsDate Function [Runtime]</link></paragraph>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3153311" l10n="U" oldref="2">Tests if a numeric or string expression can be converted to a <emph>Date</emph> variable.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3153824" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3147573" l10n="U" xml-lang="en-US" oldref="4">IsDate (Expression)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3143270" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3147560" l10n="U" xml-lang="en-US" oldref="6">Bool</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3148947" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" xml-lang="en-US" oldref="8" role="paragraph" id="par_id3145069"><emph>Expression:</emph> Any numeric or string expression that you want to test. If the expression can be converted to a date, the function returns <emph>True</emph>, otherwise the function returns <emph>False</emph>.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3150447" l10n="U" xml-lang="en-US" oldref="9">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3154217" l10n="U" xml-lang="en-US" oldref="10">Sub ExampleIsDate</paragraph>
+ <paragraph role="paragraph" id="par_id3153970" l10n="U" xml-lang="en-US" oldref="11">Dim sDateVar as String</paragraph>
+ <paragraph role="paragraph" id="par_id3153193" l10n="U" xml-lang="en-US" oldref="12">sDateVar = &quot;12.12.1997&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3150869" l10n="U" xml-lang="en-US" oldref="13">print IsDate(sDateVar) REM Returns True</paragraph>
+ <paragraph role="paragraph" id="par_id3148453" l10n="U" xml-lang="en-US" oldref="14">sDateVar = &quot;12121997&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3147288" l10n="U" xml-lang="en-US" oldref="15">print IsDate(sDateVar) REM Returns False</paragraph>
+ <paragraph role="paragraph" id="par_id3155132" l10n="U" xml-lang="en-US" oldref="16">end sub</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03102400.xhp b/helpcontent2/source/text/sbasic/shared/03102400.xhp
new file mode 100755
index 0000000000..ebbadefa3a
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03102400.xhp
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03102400xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">IsEmpty Function [Runtime]</title>
+<filename>/text/sbasic/shared/03102400.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="isempty">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3153394"><bookmark_value>IsEmpty;function</bookmark_value></bookmark><paragraph id="hd_id3153394" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03102400.xhp" name="IsEmpty Function [Runtime]">IsEmpty Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3163045" l10n="U" xml-lang="en-US" oldref="2">Tests if a Variant variable contains the Empty value. The Empty value indicates that the variable is not initialized.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3159158" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3153126" l10n="U" xml-lang="en-US" oldref="4">IsEmpty (Var)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3148685" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3156344" l10n="U" xml-lang="en-US" oldref="6">Bool</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3148947" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3154347" xml-lang="en-US" oldref="8"><emph>Var:</emph> Any variable that you want to test. If the Variant contains the Empty value, the function returns True, otherwise the function returns False.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3154138" l10n="U" xml-lang="en-US" oldref="9">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3125864" l10n="U" xml-lang="en-US" oldref="10">Sub ExampleIsEmpty</paragraph>
+ <paragraph role="paragraph" id="par_id3150449" l10n="U" xml-lang="en-US" oldref="11">Dim sVar as Variant</paragraph>
+ <paragraph role="paragraph" id="par_id3153970" l10n="U" xml-lang="en-US" oldref="12">sVar = Empty</paragraph>
+ <paragraph role="paragraph" id="par_id3154863" l10n="U" xml-lang="en-US" oldref="13">Print IsEmpty(sVar) REM Returns True</paragraph>
+ <paragraph role="paragraph" id="par_id3151043" l10n="U" xml-lang="en-US" oldref="14">end sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03102600.xhp b/helpcontent2/source/text/sbasic/shared/03102600.xhp
new file mode 100755
index 0000000000..c20c32ed63
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03102600.xhp
@@ -0,0 +1,87 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03102600xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">IsNull Function [Runtime]</title>
+<filename>/text/sbasic/shared/03102600.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="isnull">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3155555"><bookmark_value>IsNull;function</bookmark_value></bookmark><paragraph id="hd_id3155555" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03102600.xhp" name="IsNull Function [Runtime]">IsNull Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3146957" l10n="U" xml-lang="en-US" oldref="2">Tests if a Variant contains the special Null value, indicating that the variable does not contains data.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3150670" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3150984" l10n="U" xml-lang="en-US" oldref="4">IsNull (Var)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3149514" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3145609" l10n="U" xml-lang="en-US" oldref="6">Bool</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3149669" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3159414" xml-lang="en-US" oldref="8"><emph>Var:</emph> Any variable that you want to test. This function returns True if the Variant contains the Null value, or False if the Variant does not contain the Null value.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3153381" l10n="U" xml-lang="en-US" oldref="9">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3154140" l10n="U" xml-lang="en-US" oldref="10">Sub ExampleIsNull</paragraph>
+ <paragraph role="paragraph" id="par_id3145172" l10n="U" xml-lang="en-US" oldref="11">Dim vVar As Variant</paragraph>
+ <paragraph role="paragraph" id="par_id3144760" l10n="U" xml-lang="en-US" oldref="12">msgbox IsNull(vVar)</paragraph>
+ <paragraph role="paragraph" id="par_id3153970" l10n="U" xml-lang="en-US" oldref="13">end sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03102700.xhp b/helpcontent2/source/text/sbasic/shared/03102700.xhp
new file mode 100755
index 0000000000..599afbf960
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03102700.xhp
@@ -0,0 +1,90 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03102700xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">IsNumeric Function [Runtime]</title>
+<filename>/text/sbasic/shared/03102700.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="isnumeric">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3145136"><bookmark_value>IsNumeric;function</bookmark_value></bookmark><paragraph id="hd_id3145136" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03102700.xhp" name="IsNumeric Function [Runtime]">IsNumeric Function [Runtime]</link></paragraph>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3149177" l10n="U" oldref="2">Tests if an expression is a number. If the expression is a <link href="text/sbasic/shared/00000002.xhp#dezimal" name="number">number</link>, the function returns True, otherwise the function returns False.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3149415" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3150771" l10n="U" xml-lang="en-US" oldref="4">IsNumeric (Var)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3148685" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3148944" l10n="U" xml-lang="en-US" oldref="6">Bool</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3148947" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3154760" xml-lang="en-US" oldref="8"><emph>Var:</emph> Any expression that you want to test.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3149656" l10n="U" xml-lang="en-US" oldref="9">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3154367" l10n="U" xml-lang="en-US" oldref="10">Sub ExampleIsNumeric</paragraph>
+ <paragraph role="paragraph" id="par_id3156423" l10n="U" xml-lang="en-US" oldref="11">Dim vVar as variant</paragraph>
+ <paragraph role="paragraph" id="par_id3154125" l10n="U" xml-lang="en-US" oldref="12">vVar = &quot;ABC&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3147230" l10n="U" xml-lang="en-US" oldref="13">Print IsNumeric(sVar) REM Returns False</paragraph>
+ <paragraph role="paragraph" id="par_id3156214" l10n="U" xml-lang="en-US" oldref="14">vVar = &quot;123&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3154910" l10n="U" xml-lang="en-US" oldref="15">Print IsNumeric(sVar) REM Returns True</paragraph>
+ <paragraph role="paragraph" id="par_id3147289" l10n="U" xml-lang="en-US" oldref="16">end sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03102800.xhp b/helpcontent2/source/text/sbasic/shared/03102800.xhp
new file mode 100755
index 0000000000..90d1663600
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03102800.xhp
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03102800xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">IsObject Function [Runtime]</title>
+<filename>/text/sbasic/shared/03102800.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="isobject">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3149346"><bookmark_value>IsObject;function</bookmark_value></bookmark><paragraph id="hd_id3149346" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03102800.xhp" name="IsObject Function [Runtime]">IsObject Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3148538" l10n="U" xml-lang="en-US" oldref="2">Tests if an object variable is an OLE object. The function returns True if the variable is an OLE object, otherwise it returns False.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3149234" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3154285" l10n="U" xml-lang="en-US" oldref="4">IsObject (ObjectVar)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3148685" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3156024" l10n="U" xml-lang="en-US" oldref="6">Bool</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3148947" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3148552" xml-lang="en-US" oldref="8"><emph>ObjectVar:</emph> Any variable that you want to test. If the Object variable contains an OLE object, the function returns True.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03102900.xhp b/helpcontent2/source/text/sbasic/shared/03102900.xhp
new file mode 100755
index 0000000000..0cdc013200
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03102900.xhp
@@ -0,0 +1,98 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03102900xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">LBound Function [Runtime]</title>
+<filename>/text/sbasic/shared/03102900.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="lbound">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3156027"><bookmark_value>LBound;function</bookmark_value></bookmark><paragraph id="hd_id3156027" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03102900.xhp" name="LBound Function [Runtime]">LBound Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3147226" l10n="U" xml-lang="en-US" oldref="2">Returns the lower boundary of an array.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3148538" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3150503" l10n="U" xml-lang="en-US" oldref="4">LBound (ArrayName [, Dimension])</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3150984" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3153126" l10n="U" xml-lang="en-US" oldref="6">Integer</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3144500" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" xml-lang="en-US" oldref="8" role="paragraph" id="par_id3145069"><emph>ArrayName:</emph> Name of the array for which you want to return the upper (<emph>Ubound</emph>) or the lower (<emph>LBound</emph>) boundary of the array dimension.</paragraph>
+ <paragraph l10n="U" xml-lang="en-US" oldref="9" role="paragraph" id="par_id3149457"><emph>[Dimension]:</emph> Integer that specifies which dimension to return the upper (<emph>Ubound</emph>) or the lower (<emph>LBound</emph>) boundary for. If a value is not specified, the first dimension is assumed.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err9"/>
+ <paragraph role="heading" level="2" id="hd_id3145171" l10n="U" xml-lang="en-US" oldref="10">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3148673" l10n="U" xml-lang="en-US" oldref="11">Sub ExampleUboundLbound</paragraph>
+ <paragraph role="paragraph" id="par_id3153193" l10n="U" xml-lang="en-US" oldref="12">Dim sVar(10 to 20) As String</paragraph>
+ <paragraph role="paragraph" id="par_id3148452" l10n="U" xml-lang="en-US" oldref="13">print LBound(sVar())</paragraph>
+ <paragraph role="paragraph" id="par_id3153768" l10n="U" xml-lang="en-US" oldref="14">print UBound(sVar())</paragraph>
+ <paragraph role="paragraph" id="par_id3147288" l10n="U" xml-lang="en-US" oldref="15">end Sub</paragraph>
+ <paragraph role="paragraph" id="par_id3146974" l10n="U" xml-lang="en-US" oldref="16">Sub ExampleUboundLbound2</paragraph>
+ <paragraph role="paragraph" id="par_id3146985" l10n="U" xml-lang="en-US" oldref="17">Dim sVar(10 to 20,5 To 70) As String</paragraph>
+ <paragraph role="paragraph" id="par_id3145365" l10n="U" xml-lang="en-US" oldref="18">Print LBound(sVar()) REM Returns 10</paragraph>
+ <paragraph role="paragraph" id="par_id3150486" l10n="U" xml-lang="en-US" oldref="19">Print UBound(sVar()) REM Returns 20</paragraph>
+ <paragraph role="paragraph" id="par_id3149665" l10n="U" xml-lang="en-US" oldref="20">Print LBound(sVar(),2) REM Returns 5</paragraph>
+ <paragraph role="paragraph" id="par_id3159154" l10n="U" xml-lang="en-US" oldref="21">Print UBound(sVar(),2) REM Returns 70</paragraph>
+ <paragraph role="paragraph" id="par_id3154013" l10n="U" xml-lang="en-US" oldref="22">end Sub</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03103000.xhp b/helpcontent2/source/text/sbasic/shared/03103000.xhp
new file mode 100755
index 0000000000..689a513cde
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03103000.xhp
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03103000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">UBound Function [Runtime]</title>
+<filename>/text/sbasic/shared/03103000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="ubound">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3148538"><bookmark_value>UBound;function</bookmark_value></bookmark><paragraph id="hd_id3148538" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03103000.xhp" name="UBound Function [Runtime]">UBound Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3147573" l10n="U" xml-lang="en-US" oldref="2">Returns the upper boundary of an array.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3150984" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3149415" l10n="U" xml-lang="en-US" oldref="4">UBound (ArrayName [, Dimension])</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3153897" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3149670" l10n="U" xml-lang="en-US" oldref="6">Integer</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3154347" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" xml-lang="en-US" oldref="8" role="paragraph" id="par_id3153381"><emph>ArrayName:</emph> Name of the array for which you want to determine the upper (<emph>Ubound</emph>) or the lower (<emph>LBound</emph>) boundary.</paragraph>
+ <paragraph l10n="U" xml-lang="en-US" oldref="9" role="paragraph" id="par_id3148797"><emph>[Dimension]:</emph> Integer that specifies which dimension to return the upper(<emph>Ubound</emph>) or lower (<emph>LBound</emph>) boundary for. If no value is specified, the boundary of the first dimension is returned.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err9"/>
+ <paragraph role="heading" level="2" id="hd_id3153192" l10n="U" xml-lang="en-US" oldref="10">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3147229" l10n="U" xml-lang="en-US" oldref="11">Sub ExampleUboundLbound</paragraph>
+ <paragraph role="paragraph" id="par_id3150440" l10n="U" xml-lang="en-US" oldref="12">Dim sVar(10 to 20) As String</paragraph>
+ <paragraph role="paragraph" id="par_id3145785" l10n="U" xml-lang="en-US" oldref="13">print LBound(sVar())</paragraph>
+ <paragraph role="paragraph" id="par_id3153092" l10n="U" xml-lang="en-US" oldref="14">print UBound(sVar())</paragraph>
+ <paragraph role="paragraph" id="par_id3153727" l10n="U" xml-lang="en-US" oldref="15">end Sub</paragraph>
+ <paragraph role="paragraph" id="par_id3145271" l10n="U" xml-lang="en-US" oldref="16">Sub ExampleUboundLbound2</paragraph>
+ <paragraph role="paragraph" id="par_id3153952" l10n="U" xml-lang="en-US" oldref="17">Dim sVar(10 to 20,5 To 70) As String</paragraph>
+ <paragraph role="paragraph" id="par_id3152596" l10n="U" xml-lang="en-US" oldref="18">Print LBound(sVar()) REM Returns 10</paragraph>
+ <paragraph role="paragraph" id="par_id3153138" l10n="U" xml-lang="en-US" oldref="19">Print UBound(sVar()) REM Returns 20</paragraph>
+ <paragraph role="paragraph" id="par_id3149665" l10n="U" xml-lang="en-US" oldref="20">Print LBound(sVar(),2) REM Returns 5</paragraph>
+ <paragraph role="paragraph" id="par_id3147214" l10n="U" xml-lang="en-US" oldref="21">Print UBound(sVar(),2) REM Returns 70</paragraph>
+ <paragraph role="paragraph" id="par_id3155855" l10n="U" xml-lang="en-US" oldref="22">end Sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03103100.xhp b/helpcontent2/source/text/sbasic/shared/03103100.xhp
new file mode 100644
index 0000000000..cc70ebec70
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03103100.xhp
@@ -0,0 +1,87 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************-->
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03103100xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Let Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03103100.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="let">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3147242"><bookmark_value>Let;statement</bookmark_value></bookmark><paragraph id="hd_id3147242" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03103100.xhp" name="Let Statement [Runtime]">Let Statement [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3149233" l10n="U" xml-lang="en-US" oldref="2">Assigns a value to a variable.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3153127" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3154285" l10n="U" xml-lang="en-US" oldref="4">[Let] VarName=Expression</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3148944" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3147560" xml-lang="en-US" oldref="6"><emph>VarName:</emph> Variable that you want to assign a value to. Value and variable type must be compatible.</paragraph>
+ <paragraph xml-lang="en-US" role="note" id="par_id3148451" l10n="U" oldref="7">As in most BASIC dialects, the key word <emph>Let</emph> is optional.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3145785" l10n="U" xml-lang="en-US" oldref="8">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3150441" l10n="U" xml-lang="en-US" oldref="9">Sub ExampleLen</paragraph>
+ <paragraph role="paragraph" id="par_id3159254" l10n="U" xml-lang="en-US" oldref="10">Dim stext as String</paragraph>
+ <paragraph role="paragraph" id="par_id3149481" l10n="U" xml-lang="en-US" oldref="11">Let sText = "Las Vegas"</paragraph>
+ <paragraph role="paragraph" id="par_id3152939" l10n="U" xml-lang="en-US" oldref="12">msgbox Len(sText) REM returns 9</paragraph>
+ <paragraph role="paragraph" id="par_id3146921" l10n="U" xml-lang="en-US" oldref="13">End Sub</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03103200.xhp b/helpcontent2/source/text/sbasic/shared/03103200.xhp
new file mode 100644
index 0000000000..dabb32fd32
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03103200.xhp
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************-->
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03103200xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Option Base Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03103200.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="optionbase">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3155805"><bookmark_value>Option Base;statement</bookmark_value></bookmark><paragraph id="hd_id3155805" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03103200.xhp" name="Option Base Statement [Runtime]">Option Base Statement [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3147242" l10n="U" xml-lang="en-US" oldref="2">Defines the default lower boundary for arrays as 0 or 1.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3150771" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3147573" l10n="U" xml-lang="en-US" oldref="4">Option Base { 0 | 1}</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3145315" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph role="warning" id="par_id3147229" l10n="U" xml-lang="en-US" oldref="6">This statement must be added before the executable program code in a module.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3150870" l10n="U" xml-lang="en-US" oldref="7">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3152921" l10n="U" xml-lang="en-US" oldref="8">option Base 1</paragraph>
+
+ <paragraph role="paragraph" id="par_id3153192" l10n="U" xml-lang="en-US" oldref="10">Sub ExampleOptionBase</paragraph>
+ <paragraph role="paragraph" id="par_id3149561" l10n="U" xml-lang="en-US" oldref="11">Dim sVar(20) As String</paragraph>
+ <paragraph role="paragraph" id="par_id3153770" l10n="U" xml-lang="en-US" oldref="12">msgbox LBound(sVar())</paragraph>
+ <paragraph role="paragraph" id="par_id3159153" l10n="U" xml-lang="en-US" oldref="13">end sub</paragraph>
+
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03103300.xhp b/helpcontent2/source/text/sbasic/shared/03103300.xhp
new file mode 100644
index 0000000000..5474008525
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03103300.xhp
@@ -0,0 +1,90 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************-->
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03103300xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Option Explicit Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03103300.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="optionexplicit">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3145090"><bookmark_value>Option Explicit;statement</bookmark_value></bookmark><paragraph id="hd_id3145090" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03103300.xhp" name="Option Explicit Statement [Runtime]">Option Explicit Statement [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3148538" l10n="U" xml-lang="en-US" oldref="2">Specifies that every variable in the program code must be explicitly declared with the Dim statement.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3149763" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3149514" l10n="U" xml-lang="en-US" oldref="4">Option Explicit</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3145315" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph role="warning" id="par_id3145172" l10n="U" xml-lang="en-US" oldref="6">This statement must be added before the executable program code in a module.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3125864" l10n="U" xml-lang="en-US" oldref="7">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3154217" l10n="U" xml-lang="en-US" oldref="8">Option Explicit</paragraph>
+ <paragraph role="paragraph" id="par_id3156214" l10n="U" xml-lang="en-US" oldref="9">Sub ExampleExplicit</paragraph>
+ <paragraph role="paragraph" id="par_id3153193" l10n="U" xml-lang="en-US" oldref="10">Dim sVar As String</paragraph>
+ <paragraph role="paragraph" id="par_id3159252" l10n="U" xml-lang="en-US" oldref="11">sVar = "Las Vegas"</paragraph>
+ <paragraph role="paragraph" id="par_id3145787" l10n="U" xml-lang="en-US" oldref="12">For i% = 1 to 10 REM This results in a run-time error</paragraph>
+ <paragraph role="paragraph" id="par_id3152598" l10n="U" xml-lang="en-US" oldref="13">REM</paragraph>
+ <paragraph role="paragraph" id="par_id3145749" l10n="U" xml-lang="en-US" oldref="14">Next i%</paragraph>
+ <paragraph role="paragraph" id="par_id3150010" l10n="U" xml-lang="en-US" oldref="15">End Sub</paragraph>
+
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03103400.xhp b/helpcontent2/source/text/sbasic/shared/03103400.xhp
new file mode 100755
index 0000000000..4b18adb495
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03103400.xhp
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03103400xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Public Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03103400.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="public">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3153311"><bookmark_value>Public;statement</bookmark_value></bookmark><paragraph id="hd_id3153311" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03103400.xhp" name="Public Statement [Runtime]">Public Statement [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3150669" l10n="U" xml-lang="en-US" oldref="2">Dimensions a variable or an array at the module level (that is, not within a subroutine or function), so that the variable and the array are valid in all libraries and modules.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3150772" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3155341" l10n="U" xml-lang="en-US" oldref="4">Public VarName[(start To end)] [As VarType][, VarName2[(start To end)] [As VarType][,...]]</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3145315" l10n="U" xml-lang="en-US" oldref="5">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3156024" l10n="U" xml-lang="en-US" oldref="6">Public iPublicVar As Integer</paragraph>
+
+ <paragraph role="paragraph" id="par_id3153896" l10n="U" xml-lang="en-US" oldref="8">Sub ExamplePublic</paragraph>
+ <paragraph role="paragraph" id="par_id3149656" l10n="U" xml-lang="en-US" oldref="9">iPublicVar = iPublicVar + 1</paragraph>
+ <paragraph role="paragraph" id="par_id3150359" l10n="U" xml-lang="en-US" oldref="10">MsgBox iPublicVar</paragraph>
+ <paragraph role="paragraph" id="par_id3154365" l10n="U" xml-lang="en-US" oldref="11">End sub</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03103450.xhp b/helpcontent2/source/text/sbasic/shared/03103450.xhp
new file mode 100755
index 0000000000..465a95c2cb
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03103450.xhp
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03103450xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Global Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03103450.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="global">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3159201"><bookmark_value>Global;statement</bookmark_value></bookmark><paragraph id="hd_id3159201" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03103450.xhp" name="Global Statement [Runtime]">Global Statement [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3149177" l10n="U" xml-lang="en-US" oldref="2">Dimensions a variable or an array at the global level (that is, not within a subroutine or function), so that the variable and the array are valid in all libraries and modules for the current session.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3143270" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3150771" l10n="U" xml-lang="en-US" oldref="4">Global VarName[(start To end)] [As VarType][, VarName2[(start To end)] [As VarType][,...]]</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3156152" l10n="U" xml-lang="en-US" oldref="5">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3145315" l10n="U" xml-lang="en-US" oldref="6">Global iGlobalVar As Integer</paragraph>
+ <paragraph role="paragraph" id="par_id3147531" l10n="U" xml-lang="en-US" oldref="7">Sub ExampleGlobal</paragraph>
+ <paragraph role="paragraph" id="par_id3149670" l10n="U" xml-lang="en-US" oldref="8">iGlobalVar = iGlobalVar + 1</paragraph>
+ <paragraph role="paragraph" id="par_id3148552" l10n="U" xml-lang="en-US" oldref="9">MsgBox iGlobalVar</paragraph>
+ <paragraph role="paragraph" id="par_id3149457" l10n="U" xml-lang="en-US" oldref="10">End sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03103500.xhp b/helpcontent2/source/text/sbasic/shared/03103500.xhp
new file mode 100644
index 0000000000..7ae5b67df1
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03103500.xhp
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************-->
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03103500xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Static Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03103500.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="static">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3149798"><bookmark_value>Static;statement</bookmark_value></bookmark><paragraph id="hd_id3149798" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03103500.xhp" name="Static Statement [Runtime]">Static Statement [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3153311" l10n="U" xml-lang="en-US" oldref="2">Declares a variable or an array at the procedure level within a subroutine or a function, so that the values of the variable or the array are retained after exiting the subroutine or function. Dim statement conventions are also valid.</paragraph>
+ </section>
+ <paragraph xml-lang="en-US" role="warning" id="par_id3147264" l10n="U" oldref="3">The <emph>Static statement</emph> cannot be used to define variable arrays. Arrays must be specified according to a fixed size.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3149657" l10n="U" xml-lang="en-US" oldref="4">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3150400" l10n="U" xml-lang="en-US" oldref="5">Static VarName[(start To end)] [As VarType], VarName2[(start To end)] [As VarType], ...</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3148452" l10n="U" xml-lang="en-US" oldref="6">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3156214" l10n="U" xml-lang="en-US" oldref="7">Sub ExampleStatic</paragraph>
+ <paragraph role="paragraph" id="par_id3154217" l10n="U" xml-lang="en-US" oldref="8">Static iInit As Integer</paragraph>
+ <paragraph role="paragraph" id="par_id3154124" l10n="U" xml-lang="en-US" oldref="9">if iInit = 0 then iInit = InitVar() REM Test if variable is already initialized</paragraph>
+ <paragraph role="paragraph" id="par_id3151041" l10n="U" xml-lang="en-US" oldref="10">iInit = iInit + 1</paragraph>
+ <paragraph role="paragraph" id="par_id3150870" l10n="U" xml-lang="en-US" oldref="11">MsgBox iInit,0,"The answer is"</paragraph>
+
+ <paragraph role="paragraph" id="par_id3153771" l10n="U" xml-lang="en-US" oldref="13">End Sub</paragraph>
+
+ <paragraph role="paragraph" id="par_id3151115" l10n="U" xml-lang="en-US" oldref="15">REM Function for initialization of the static variable</paragraph>
+ <paragraph role="paragraph" id="par_id3148618" l10n="U" xml-lang="en-US" oldref="16">Function InitVar() As Integer</paragraph>
+ <paragraph role="paragraph" id="par_id3145272" l10n="U" xml-lang="en-US" oldref="17">InitVar = 40 REM any value for initialization</paragraph>
+ <paragraph role="paragraph" id="par_id3150487" l10n="U" xml-lang="en-US" oldref="18">End Function</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03103600.xhp b/helpcontent2/source/text/sbasic/shared/03103600.xhp
new file mode 100755
index 0000000000..4b82dc4789
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03103600.xhp
@@ -0,0 +1,234 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03103600xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">TypeName Function; VarType Function[Runtime]</title>
+<filename>/text/sbasic/shared/03103600.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="typename">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3143267"><bookmark_value>TypeName;function</bookmark_value></bookmark><paragraph id="hd_id3143267" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03103600.xhp" name="TypeName Function; VarType Function[Runtime]">TypeName Function; VarType Function[Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3159157" l10n="U" xml-lang="en-US" oldref="2">Returns a string (TypeName) or a numeric value (VarType) that contains information for a variable.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3153825" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3155341" l10n="U" xml-lang="en-US" oldref="4">TypeName (Variable)VarType (Variable)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3145610" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3148947" l10n="U" xml-lang="en-US" oldref="6">String; Integer</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3146795" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3148664" xml-lang="en-US" oldref="8"><emph>Variable:</emph> The variable that you want to determine the type of. You can use the following values:</paragraph>
+ <table id="tbl_id3153362">
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3145171" l10n="U" xml-lang="en-US" oldref="9">key word</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3156212" l10n="U" xml-lang="en-US" oldref="10">VarType</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3154684" l10n="U" xml-lang="en-US" oldref="11">Variable type</paragraph>
+ </tablecell>
+ </tablerow>
+
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3151041" l10n="U" xml-lang="en-US" oldref="12">Boolean</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3153367" l10n="U" xml-lang="en-US" oldref="13">11</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3148645" l10n="U" xml-lang="en-US" oldref="14">Boolean variable</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3153138" l10n="U" xml-lang="en-US" oldref="15">Date</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3153363" l10n="U" xml-lang="en-US" oldref="16">7</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3155411" l10n="U" xml-lang="en-US" oldref="17">Date variable</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3146975" l10n="U" xml-lang="en-US" oldref="18">Double</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3150486" l10n="U" xml-lang="en-US" oldref="19">5</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3148616" l10n="U" xml-lang="en-US" oldref="20">Double floating point variable</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3148457" l10n="U" xml-lang="en-US" oldref="21">Integer</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3145647" l10n="U" xml-lang="en-US" oldref="22">2</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3154490" l10n="U" xml-lang="en-US" oldref="23">Integer variable</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3149960" l10n="U" xml-lang="en-US" oldref="24">Long</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3154513" l10n="U" xml-lang="en-US" oldref="25">3</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3151318" l10n="U" xml-lang="en-US" oldref="26">Long integer variable</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3146972" l10n="U" xml-lang="en-US" oldref="27">Object</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3154482" l10n="U" xml-lang="en-US" oldref="28">9</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3150323" l10n="U" xml-lang="en-US" oldref="29">Object variable</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3148405" l10n="U" xml-lang="en-US" oldref="30">Single</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3149020" l10n="U" xml-lang="en-US" oldref="31">4</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3147341" l10n="U" xml-lang="en-US" oldref="32">Single floating-point variable</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3155901" l10n="U" xml-lang="en-US" oldref="33">String</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3155960" l10n="U" xml-lang="en-US" oldref="34">8</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3146313" l10n="U" xml-lang="en-US" oldref="35">String variable</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3145149" l10n="U" xml-lang="en-US" oldref="36">Variant</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3154021" l10n="U" xml-lang="en-US" oldref="37">12</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3145789" l10n="U" xml-lang="en-US" oldref="38">Variant variable (can contain all types specified by the definition)</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3148630" l10n="U" xml-lang="en-US" oldref="39">Empty</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3152584" l10n="U" xml-lang="en-US" oldref="40">0</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3151278" l10n="U" xml-lang="en-US" oldref="41">Variable is not initialized</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3154576" l10n="U" xml-lang="en-US" oldref="42">Null</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3166424" l10n="U" xml-lang="en-US" oldref="43">1</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3145131" l10n="U" xml-lang="en-US" oldref="44">No valid data</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3149338" l10n="U" xml-lang="en-US" oldref="45">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3150363" l10n="U" xml-lang="en-US" oldref="46">Sub ExampleType</paragraph>
+ <paragraph role="paragraph" id="par_id3159088" l10n="U" xml-lang="en-US" oldref="47">Dim iVar As Integer</paragraph>
+ <paragraph role="paragraph" id="par_id3150089" l10n="U" xml-lang="en-US" oldref="48">Dim sVar As String</paragraph>
+ <paragraph role="paragraph" id="par_id3156139" l10n="U" xml-lang="en-US" oldref="49">Dim siVar As Single</paragraph>
+ <paragraph role="paragraph" id="par_id3151217" l10n="U" xml-lang="en-US" oldref="50">Dim dVar As Double</paragraph>
+ <paragraph role="paragraph" id="par_id3154658" l10n="U" xml-lang="en-US" oldref="51">Dim bVar As Boolean</paragraph>
+ <paragraph role="paragraph" id="par_id3152992" l10n="U" xml-lang="en-US" oldref="52">Dim lVar As Long</paragraph>
+ <paragraph role="paragraph" id="par_id3155509" l10n="U" xml-lang="en-US" oldref="53">Msgbox TypeName(iVar) &amp; &quot; &quot; &amp; VarType(iVar) &amp; Chr(13) &amp;_</paragraph>
+ <paragraph role="paragraph" id="par_id3150370" l10n="U" xml-lang="en-US" oldref="54">TypeName(sVar) &amp; &quot; &quot; &amp; VarType(dVar) &amp; Chr(13) &amp;_</paragraph>
+ <paragraph role="paragraph" id="par_id3155532" l10n="U" xml-lang="en-US" oldref="55">TypeName(siVar) &amp; &quot; &quot; &amp; VarType(siVar) &amp; Chr(13) &amp;_</paragraph>
+ <paragraph role="paragraph" id="par_id3152988" l10n="U" xml-lang="en-US" oldref="56">TypeName(dVar) &amp; &quot; &quot; &amp; VarType(dVar) &amp; Chr(13) &amp;_</paragraph>
+ <paragraph role="paragraph" id="par_id3156166" l10n="U" xml-lang="en-US" oldref="57">TypeName(bVar) &amp; &quot; &quot; &amp; VarType(bVar) &amp; Chr(13) &amp;_</paragraph>
+ <paragraph role="paragraph" id="par_id3148817" l10n="U" xml-lang="en-US" oldref="58">TypeName(lVar) &amp; &quot; &quot; &amp; VarType(lVar),0,&quot;Some types in $[officename] Basic&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3154259" l10n="U" xml-lang="en-US" oldref="59">end Sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03103700.xhp b/helpcontent2/source/text/sbasic/shared/03103700.xhp
new file mode 100755
index 0000000000..e78acd9433
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03103700.xhp
@@ -0,0 +1,86 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03103700xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Set Statement[Runtime]</title>
+<filename>/text/sbasic/shared/03103700.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="set">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3154422"><bookmark_value>Set;statement</bookmark_value></bookmark><paragraph id="hd_id3154422" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03103700.xhp" name="Set Statement[Runtime]">Set Statement[Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3159149" l10n="U" xml-lang="en-US" oldref="2">Sets an object reference on a variable or a Property.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3153105" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3154217" l10n="U" xml-lang="en-US" oldref="4">Set ObjectVar = Object</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3154685" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3156281" xml-lang="en-US" oldref="6"><emph>ObjectVar:</emph> a variable or a property that requires an object reference.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3159252" xml-lang="en-US" oldref="7"><emph>Object:</emph> Object that the variable or the property refers to.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3159153" l10n="U" xml-lang="en-US" oldref="8">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3147349" l10n="U" xml-lang="en-US" oldref="9">Sub ExampleSet</paragraph>
+ <paragraph role="paragraph" id="par_id3149481" l10n="U" xml-lang="en-US" oldref="10">Dim oDoc As Object</paragraph>
+ <paragraph role="paragraph" id="par_id3153140" l10n="U" xml-lang="en-US" oldref="11">Set oDoc = ActiveWindow</paragraph>
+ <paragraph role="paragraph" id="par_id3153190" l10n="U" xml-lang="en-US" oldref="12">Print oDoc.Name</paragraph>
+ <paragraph role="paragraph" id="par_id3161833" l10n="U" xml-lang="en-US" oldref="13">End Sub</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03103800.xhp b/helpcontent2/source/text/sbasic/shared/03103800.xhp
new file mode 100755
index 0000000000..10ca3d7bce
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03103800.xhp
@@ -0,0 +1,94 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03103800xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">FindObject Function [Runtime]</title>
+<filename>/text/sbasic/shared/03103800.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="findobject">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3145136"><bookmark_value>FindObject;function</bookmark_value></bookmark><paragraph id="hd_id3145136" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03103800.xhp" name="FindObject Function [Runtime]">FindObject Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3155341" l10n="U" xml-lang="en-US" oldref="2">Enables an object to be addressed at run-time as a string parameter through the object name.</paragraph>
+ </section>
+ <paragraph role="paragraph" id="par_id3150669" l10n="U" xml-lang="en-US" oldref="3">For example, the following command:</paragraph>
+ <paragraph role="paragraph" id="par_id3148473" l10n="U" xml-lang="en-US" oldref="4">MyObj.Prop1.Command = 5</paragraph>
+ <paragraph role="paragraph" id="par_id3156023" l10n="U" xml-lang="en-US" oldref="5">corresponds to the command block:</paragraph>
+ <paragraph role="paragraph" id="par_id3153896" l10n="U" xml-lang="en-US" oldref="6">Dim ObjVar as Object</paragraph>
+ <paragraph role="paragraph" id="par_id3154760" l10n="U" xml-lang="en-US" oldref="7">Dim ObjProp as Object</paragraph>
+ <paragraph role="paragraph" id="par_id3145069" l10n="U" xml-lang="en-US" oldref="8">ObjName As String = &quot;MyObj&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3154939" l10n="U" xml-lang="en-US" oldref="9">ObjVar = FindObject( ObjName As String )</paragraph>
+ <paragraph role="paragraph" id="par_id3150793" l10n="U" xml-lang="en-US" oldref="10">PropName As String = &quot;Prop1&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3154141" l10n="U" xml-lang="en-US" oldref="11">ObjProp = FindPropertyObject( ObjVar, PropName As String )</paragraph>
+ <paragraph role="paragraph" id="par_id3156424" l10n="U" xml-lang="en-US" oldref="12">ObjProp.Command = 5</paragraph>
+ <paragraph role="paragraph" id="par_id3145420" l10n="U" xml-lang="en-US" oldref="13">This allows names to be dynamically created at run-time. For example:</paragraph>
+ <paragraph role="paragraph" id="par_id3153104" l10n="U" xml-lang="en-US" oldref="14">&quot;TextEdit1&quot; to TextEdit5&quot; in a loop to create five control names.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150767" xml-lang="en-US" oldref="15">See also: <link href="text/sbasic/shared/03103900.xhp" name="FindPropertyObject">FindPropertyObject</link></paragraph>
+ <paragraph role="heading" level="2" id="hd_id3150868" l10n="U" xml-lang="en-US" oldref="16">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3151042" l10n="U" xml-lang="en-US" oldref="17">FindObject( ObjName As String )</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3159254" l10n="U" xml-lang="en-US" oldref="18">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150439" xml-lang="en-US" oldref="19"><emph>ObjName: </emph>String that specifies the name of the object that you want to address at run-time.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err12"/>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03103900.xhp b/helpcontent2/source/text/sbasic/shared/03103900.xhp
new file mode 100755
index 0000000000..0be52aaf1c
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03103900.xhp
@@ -0,0 +1,98 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03103900xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">FindPropertyObject Function [Runtime]</title>
+<filename>/text/sbasic/shared/03103900.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="findpropertyobject">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3146958"><bookmark_value>FindPropertyObject;function</bookmark_value></bookmark><paragraph id="hd_id3146958" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03103900.xhp" name="FindPropertyObject Function [Runtime]">FindPropertyObject Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3154285" l10n="U" xml-lang="en-US" oldref="2">Enables objects to be addressed at run-time as a string parameter using the object name.</paragraph>
+ </section>
+ <paragraph role="paragraph" id="par_id3147573" l10n="U" xml-lang="en-US" oldref="3">For instance, the command:</paragraph>
+ <paragraph role="paragraph" id="par_id3145610" l10n="U" xml-lang="en-US" oldref="4">MyObj.Prop1.Command = 5</paragraph>
+ <paragraph role="paragraph" id="par_id3147265" l10n="U" xml-lang="en-US" oldref="5">corresponds to the following command block:</paragraph>
+ <paragraph role="paragraph" id="par_id3153896" l10n="U" xml-lang="en-US" oldref="6">Dim ObjVar as Object</paragraph>
+ <paragraph role="paragraph" id="par_id3148664" l10n="U" xml-lang="en-US" oldref="7">Dim ObjProp as Object</paragraph>
+ <paragraph role="paragraph" id="par_id3150792" l10n="U" xml-lang="en-US" oldref="8">ObjName As String = &quot;MyObj&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3154365" l10n="U" xml-lang="en-US" oldref="9">ObjVar = FindObject( ObjName As String )</paragraph>
+ <paragraph role="paragraph" id="par_id3148453" l10n="U" xml-lang="en-US" oldref="10">PropName As String = &quot;Prop1&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3150449" l10n="U" xml-lang="en-US" oldref="11">ObjProp = FindPropertyObject( ObjVar, PropName As String )</paragraph>
+ <paragraph role="paragraph" id="par_id3159152" l10n="U" xml-lang="en-US" oldref="12">ObjProp.Command = 5</paragraph>
+ <paragraph role="paragraph" id="par_id3156214" l10n="U" xml-lang="en-US" oldref="13">To dynamically create Names at run-time, use:</paragraph>
+ <paragraph role="paragraph" id="par_id3154686" l10n="U" xml-lang="en-US" oldref="14">&quot;TextEdit1&quot; to TextEdit5&quot; in a loop to create five names.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150868" xml-lang="en-US" oldref="15">See also: <link href="text/sbasic/shared/03103800.xhp" name="FindObject">FindObject</link></paragraph>
+ <paragraph role="heading" level="2" id="hd_id3147287" l10n="U" xml-lang="en-US" oldref="16">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3149560" l10n="U" xml-lang="en-US" oldref="17">FindPropertyObject( ObjVar, PropName As String )</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3150012" l10n="U" xml-lang="en-US" oldref="18">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3109839" xml-lang="en-US" oldref="19"><emph>ObjVar:</emph> Object variable that you want to dynamically define at run-time.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3153363" xml-lang="en-US" oldref="20"><emph>PropName:</emph> String that specifies the name of the property that you want to address at run-time.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err12"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err14"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err52"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err57"/>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03104000.xhp b/helpcontent2/source/text/sbasic/shared/03104000.xhp
new file mode 100755
index 0000000000..a21a3bb041
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03104000.xhp
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03104000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">IsMissing function [Runtime]</title>
+<filename>/text/sbasic/shared/03104000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="ismissing">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3153527"><bookmark_value>IsMissing;function</bookmark_value></bookmark><paragraph id="hd_id3153527" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03104000.xhp" name="IsMissing function [Runtime]">IsMissing function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3153825" l10n="U" xml-lang="en-US" oldref="2">Tests if a function is called with an optional parameter.</paragraph>
+ </section>
+ <paragraph l10n="U" role="paragraph" id="par_id3150669" xml-lang="en-US" oldref="3">See also: <link href="text/sbasic/shared/03104100.xhp" name="Optional">Optional</link></paragraph>
+ <paragraph role="heading" level="2" id="hd_id3145611" l10n="U" xml-lang="en-US" oldref="4">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3154924" l10n="U" xml-lang="en-US" oldref="5">IsMissing( ArgumentName )</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3145069" l10n="U" xml-lang="en-US" oldref="6">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3149457" xml-lang="en-US" oldref="7"><emph>ArgumentName:</emph> the name of an optional argument.</paragraph>
+ <paragraph role="paragraph" id="par_id3150398" l10n="U" xml-lang="en-US" oldref="8">If the IsMissing function is called by the ArgumentName, then True is returned.</paragraph>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3148798" l10n="U" oldref="9">See also <link href="text/sbasic/guide/sample_code.xhp" name="Examples">Examples</link>.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03104100.xhp b/helpcontent2/source/text/sbasic/shared/03104100.xhp
new file mode 100755
index 0000000000..788d0b6abb
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03104100.xhp
@@ -0,0 +1,81 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03104100xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Optional (in Function Statement) [Runtime]</title>
+<filename>/text/sbasic/shared/03104100.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="optional">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3149205"><bookmark_value>Optional;function</bookmark_value></bookmark><paragraph id="hd_id3149205" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03104100.xhp" name="Optional (in Function Statement) [Runtime]">Optional (in Function Statement) [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3143267" l10n="U" xml-lang="en-US" oldref="2">Allows you to define parameters that are passed to a function as optional.</paragraph>
+ </section>
+ <paragraph l10n="U" role="paragraph" id="par_id3155419" xml-lang="en-US" oldref="3">See also: <link href="text/sbasic/shared/03104000.xhp" name="IsMissing">IsMissing</link></paragraph>
+ <paragraph role="heading" level="2" id="hd_id3153824" l10n="U" xml-lang="en-US" oldref="4">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3159157" l10n="U" xml-lang="en-US" oldref="5">Function MyFunction(Text1 As String, Optional Arg2, Optional Arg3)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3145610" l10n="U" xml-lang="en-US" oldref="7">Examples:</paragraph>
+ <paragraph role="paragraph" id="par_id3154347" l10n="U" xml-lang="en-US" oldref="8">Result = MyFunction(&quot;Here&quot;, 1, &quot;There&quot;) ' all arguments are passed.</paragraph>
+ <paragraph role="paragraph" id="par_id3146795" l10n="U" xml-lang="en-US" oldref="9">Result = MyFunction(&quot;Test&quot;, ,1) ' second argument is missing.</paragraph>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3153897" l10n="U" oldref="10">See also <link href="text/sbasic/guide/sample_code.xhp" name="Examples">Examples</link>.</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03104200.xhp b/helpcontent2/source/text/sbasic/shared/03104200.xhp
new file mode 100755
index 0000000000..1a02a5d0c8
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03104200.xhp
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03104200xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Array Function [Runtime]</title>
+<filename>/text/sbasic/shared/03104200.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="array">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3150499"><bookmark_value>Array;function</bookmark_value></bookmark><paragraph id="hd_id3150499" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03104200.xhp" name="Array Function [Runtime]">Array Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3155555" l10n="U" xml-lang="en-US" oldref="2">Returns the type Variant with a data field.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3148538" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3153126" l10n="U" xml-lang="en-US" oldref="4">Array ( Argument list)</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3155419" xml-lang="en-US" oldref="5">See also <link href="text/sbasic/shared/03104300.xhp" name="DimArray">DimArray</link></paragraph>
+ <paragraph role="heading" level="2" id="hd_id3150669" l10n="U" xml-lang="en-US" oldref="6">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3145609" xml-lang="en-US" oldref="7"><emph>Argument list:</emph> A list of any number of arguments that are separated by commas.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3156343" l10n="U" xml-lang="en-US" oldref="8">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3153897" l10n="U" xml-lang="en-US" oldref="9">Dim A As Variant</paragraph>
+ <paragraph role="paragraph" id="par_id3153525" l10n="U" xml-lang="en-US" oldref="10">A = Array(&quot;Fred&quot;,&quot;Tom&quot;,&quot;Bill&quot;)</paragraph>
+ <paragraph role="paragraph" id="par_id3150792" l10n="U" xml-lang="en-US" oldref="11">Msgbox A(2)</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03104300.xhp b/helpcontent2/source/text/sbasic/shared/03104300.xhp
new file mode 100755
index 0000000000..5314fbd64a
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03104300.xhp
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03104300xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">DimArray Function [Runtime]</title>
+<filename>/text/sbasic/shared/03104300.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="dimarray">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3150616"><bookmark_value>DimArray;function</bookmark_value></bookmark><paragraph id="hd_id3150616" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03104300.xhp" name="DimArray Function [Runtime]">DimArray Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3153527" l10n="U" xml-lang="en-US" oldref="2">Returns a Variant array.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3149762" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3148473" l10n="U" xml-lang="en-US" oldref="4">DimArray ( Argument list)</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3154142" xml-lang="en-US" oldref="5">See also <link href="text/sbasic/shared/03104200.xhp" name="Array">Array</link></paragraph>
+ <paragraph role="paragraph" id="par_id3156023" l10n="U" xml-lang="en-US" oldref="6">If no parameters are passed, an empty array is created (like Dim A() that is the same as a sequence of length 0 in Uno). If parameters are specified, a dimension is created for each parameter.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3154760" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3159414" xml-lang="en-US" oldref="8"><emph>Argument list:</emph> A list of any number of arguments that are separated by commas.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err9"/>
+ <paragraph role="heading" level="2" id="hd_id3150358" l10n="U" xml-lang="en-US" oldref="9">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3154939" l10n="U" xml-lang="en-US" oldref="10">DimArray( 2, 2, 4 ) is the same as DIM a( 2, 2, 4 )</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03104400.xhp b/helpcontent2/source/text/sbasic/shared/03104400.xhp
new file mode 100755
index 0000000000..1120061cd0
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03104400.xhp
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03104400xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">HasUnoInterfaces Function [Runtime]</title>
+<filename>/text/sbasic/shared/03104400.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="hasunointerfaces">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3149987"><bookmark_value>HasUnoInterfaces; function</bookmark_value></bookmark><paragraph id="hd_id3149987" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03104400.xhp" name="HasUnoInterfaces Function [Runtime]">HasUnoInterfaces Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3151262" l10n="U" xml-lang="en-US" oldref="2">Tests if a Basic Uno object supports certain Uno interfaces.</paragraph>
+ </section>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3154232" l10n="U" oldref="3">Returns True, if <emph>all</emph> stated Uno interfaces are supported, otherwise False is returned.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3150040" l10n="U" xml-lang="en-US" oldref="4">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3155555" l10n="U" xml-lang="en-US" oldref="5">HasUnoInterfaces( oTest, Uno-Interface-Name 1 [, Uno-Interface-Name 2, ...])</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3153345" l10n="U" xml-lang="en-US" oldref="6">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3148538" l10n="U" xml-lang="en-US" oldref="7">Bool</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3159157" l10n="U" xml-lang="en-US" oldref="8">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3155419" xml-lang="en-US" oldref="9"><emph>oTest:</emph> the Basic Uno object that you want to test.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3149236" xml-lang="en-US" oldref="10"><emph>Uno-Interface-Name:</emph> list of Uno interface names.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3147574" l10n="U" xml-lang="en-US" oldref="11">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3149580" l10n="U" xml-lang="en-US" oldref="12">bHas = HasUnoInterfaces( oTest, &quot;com.sun.star.beans.XIntrospection&quot; )</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03104500.xhp b/helpcontent2/source/text/sbasic/shared/03104500.xhp
new file mode 100755
index 0000000000..dbdb17b5d8
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03104500.xhp
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03104500xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">IsUnoStruct Function [Runtime]</title>
+<filename>/text/sbasic/shared/03104500.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="isunostruct">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3146117"><bookmark_value>IsUnoStruct;function</bookmark_value></bookmark><paragraph id="hd_id3146117" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03104500.xhp" name="IsUnoStruct Function [Runtime]">IsUnoStruct Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3146957" l10n="U" xml-lang="en-US" oldref="2">Returns True if the given object is a Uno struct.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3148538" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3155341" l10n="U" xml-lang="en-US" oldref="4">IsUnoStruct( Uno type )</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3148473" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3145315" l10n="U" xml-lang="en-US" oldref="6">Bool</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3145609" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph role="paragraph" id="par_id3148947" l10n="U" xml-lang="en-US" oldref="8">Uno type : A UnoObject, or a string with the name of a Uno type.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3156343" l10n="U" xml-lang="en-US" oldref="9">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3148663" l10n="U" xml-lang="en-US" oldref="10">bIsStruct = IsUnoStruct( &quot;com.sun.star.beans.Property&quot; )</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03104600.xhp b/helpcontent2/source/text/sbasic/shared/03104600.xhp
new file mode 100755
index 0000000000..386115a62d
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03104600.xhp
@@ -0,0 +1,87 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03104600xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">EqualUnoObjects Function [Runtime]</title>
+<filename>/text/sbasic/shared/03104600.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="equalunoobjects">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3149205"><bookmark_value>EqualUnoObjects;function</bookmark_value></bookmark><paragraph id="hd_id3149205" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03104600.xhp" name="EqualUnoObjects Function [Runtime]">EqualUnoObjects Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3145090" l10n="U" xml-lang="en-US" oldref="2">Returns True if the two specified Basic Uno objects represent the same Uno object instance.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3148538" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3150669" l10n="U" xml-lang="en-US" oldref="4">EqualUnoObjects( oObj1, oObj2 )</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3150984" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3154285" l10n="U" xml-lang="en-US" oldref="6">Bool</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3145315" l10n="U" xml-lang="en-US" oldref="7">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3156024" l10n="U" xml-lang="en-US" oldref="8">// Copy of objects -&gt; same instance</paragraph>
+ <paragraph role="paragraph" id="par_id3154923" l10n="U" xml-lang="en-US" oldref="9">oIntrospection = CreateUnoService( &quot;com.sun.star.beans.Introspection&quot; )</paragraph>
+ <paragraph role="paragraph" id="par_id3147559" l10n="U" xml-lang="en-US" oldref="10">oIntro2 = oIntrospection</paragraph>
+ <paragraph role="paragraph" id="par_id3150541" l10n="U" xml-lang="en-US" oldref="11">print EqualUnoObjects( oIntrospection, oIntro2 )</paragraph>
+ <paragraph role="paragraph" id="par_id3153525" l10n="U" xml-lang="en-US" oldref="12">// Copy of structs as value -&gt; new instance</paragraph>
+ <paragraph role="paragraph" id="par_id3154366" l10n="U" xml-lang="en-US" oldref="13">Dim Struct1 as new com.sun.star.beans.Property</paragraph>
+ <paragraph role="paragraph" id="par_id3154348" l10n="U" xml-lang="en-US" oldref="14">Struct2 = Struct1</paragraph>
+ <paragraph role="paragraph" id="par_id3154125" l10n="U" xml-lang="en-US" oldref="15">print EqualUnoObjects( Struct1, Struct2 )</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03110000.xhp b/helpcontent2/source/text/sbasic/shared/03110000.xhp
new file mode 100755
index 0000000000..2ea7fdd981
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03110000.xhp
@@ -0,0 +1,75 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03110000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Comparison Operators</title>
+<filename>/text/sbasic/shared/03110000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="vergleich">
+ <paragraph id="hd_id3155555" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03110000.xhp" name="Comparison Operators">Comparison Operators</link></paragraph>
+ <paragraph role="paragraph" id="par_id3153528" l10n="U" xml-lang="en-US" oldref="2">The available comparison operators are described here.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/03110100.xhp#operatoren"/>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03110100.xhp b/helpcontent2/source/text/sbasic/shared/03110100.xhp
new file mode 100755
index 0000000000..c8ad72d6cf
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03110100.xhp
@@ -0,0 +1,100 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03110100xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Comparison Operators [Runtime]</title>
+<filename>/text/sbasic/shared/03110100.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="operatoren">
+ <bookmark branch="index" xml-lang="en-US" id="bm_id3150682"><bookmark_value>comparisons;operators</bookmark_value><bookmark_value>operators;comparisons</bookmark_value></bookmark><paragraph id="hd_id3150682" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03110100.xhp" name="Comparison Operators [Runtime]">Comparison Operators [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3156042" l10n="U" xml-lang="en-US" oldref="2">Comparison operators compare two expressions. The result is returned as a Boolean expression that determines if the comparison is True (-1) or False (0).</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3147291" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3149177" l10n="U" xml-lang="en-US" oldref="4">Result = Expression1 { = | &lt; | &gt; | &lt;= | &gt;= } Expression2</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3145316" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3147573" xml-lang="en-US" oldref="6"><emph>Result:</emph> Boolean expression that specifies the result of the comparison (True, or False)</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3148686" xml-lang="en-US" oldref="7"><emph>Expression1, Expression2:</emph> Any numeric values or strings that you want to compare.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3147531" l10n="U" xml-lang="en-US" oldref="8">Comparison operators</paragraph>
+ <paragraph role="paragraph" id="par_id3147265" l10n="U" xml-lang="en-US" oldref="9">= : Equal to</paragraph>
+ <paragraph role="paragraph" id="par_id3154924" l10n="U" xml-lang="en-US" oldref="10">&lt; : Less than</paragraph>
+ <paragraph role="paragraph" id="par_id3146795" l10n="U" xml-lang="en-US" oldref="11">&gt; : Greater than</paragraph>
+ <paragraph role="paragraph" id="par_id3150541" l10n="U" xml-lang="en-US" oldref="12">&lt;= : Less than or equal to</paragraph>
+ <paragraph role="paragraph" id="par_id3150400" l10n="U" xml-lang="en-US" oldref="13">&gt;= : Greater than or equal to</paragraph>
+ <paragraph role="paragraph" id="par_id3148797" l10n="U" xml-lang="en-US" oldref="14">&lt;&gt; : Not equal to</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3154686" l10n="U" xml-lang="en-US" oldref="15">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3153969" l10n="U" xml-lang="en-US" oldref="16">Sub ExampleUnequal</paragraph>
+ <paragraph role="paragraph" id="par_id3159151" l10n="U" xml-lang="en-US" oldref="17">DIM sFile As String</paragraph>
+ <paragraph role="paragraph" id="par_id3154909" l10n="U" xml-lang="en-US" oldref="18">DIM sRoot As String REM ' Root directory for file in and output</paragraph>
+ <paragraph role="paragraph" id="par_id3150767" l10n="U" xml-lang="en-US" oldref="19">sRoot = &quot;c:\&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3154125" l10n="U" xml-lang="en-US" oldref="20">sFile = Dir$( sRoot ,22)</paragraph>
+ <paragraph role="paragraph" id="par_id3150440" l10n="U" xml-lang="en-US" oldref="21">If sFile &lt;&gt; &quot;&quot; Then</paragraph>
+ <paragraph role="paragraph" id="par_id3147288" l10n="U" xml-lang="en-US" oldref="22">Do</paragraph>
+ <paragraph role="paragraph" id="par_id3150010" l10n="U" xml-lang="en-US" oldref="23">Msgbox sFile</paragraph>
+ <paragraph role="paragraph" id="par_id3153727" l10n="U" xml-lang="en-US" oldref="24">sFile = Dir$</paragraph>
+ <paragraph role="paragraph" id="par_id3149664" l10n="U" xml-lang="en-US" oldref="25">Loop Until sFile = &quot;&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3146986" l10n="U" xml-lang="en-US" oldref="26">End If</paragraph>
+ <paragraph role="paragraph" id="par_id3153952" l10n="U" xml-lang="en-US" oldref="27">End sub</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03120000.xhp b/helpcontent2/source/text/sbasic/shared/03120000.xhp
new file mode 100755
index 0000000000..45b3257b6e
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03120000.xhp
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Strings</title>
+<filename>/text/sbasic/shared/03120000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="zeichen">
+ <paragraph id="hd_id3156153" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03120000.xhp" name="Strings">Strings</link></paragraph>
+ <paragraph role="paragraph" id="par_id3159176" l10n="U" xml-lang="en-US" oldref="2">The following functions and statements validate and return strings.</paragraph>
+ </section>
+ <paragraph role="paragraph" id="par_id3154285" l10n="U" xml-lang="en-US" oldref="3">You can use strings to edit text within $[officename] Basic programs.</paragraph>
+ <embed href="text/sbasic/shared/03120100.xhp#ascii"/>
+ <embed href="text/sbasic/shared/03120200.xhp#zeichen"/>
+ <embed href="text/sbasic/shared/03120300.xhp#manipu"/>
+ <embed href="text/sbasic/shared/03120400.xhp#ermitteln"/>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03120100.xhp b/helpcontent2/source/text/sbasic/shared/03120100.xhp
new file mode 100755
index 0000000000..37161f4f8b
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03120100.xhp
@@ -0,0 +1,79 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120100xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">ASCII/ANSI Conversion in Strings</title>
+<filename>/text/sbasic/shared/03120100.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="ascii">
+ <paragraph id="hd_id3147443" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03120100.xhp" name="ASCII/ANSI Conversion in Strings">ASCII/ANSI Conversion in Strings</link></paragraph>
+ <paragraph role="paragraph" id="par_id3159201" l10n="U" xml-lang="en-US" oldref="2">The following functions convert strings to and from ASCII or ANSI code.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/03120101.xhp#asc"/>
+ <embed href="text/sbasic/shared/03120102.xhp#chr"/>
+ <embed href="text/sbasic/shared/03120103.xhp#str"/>
+ <embed href="text/sbasic/shared/03120104.xhp#val"/>
+ <embed href="text/sbasic/shared/03120105.xhp#cbyte"/>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03120101.xhp b/helpcontent2/source/text/sbasic/shared/03120101.xhp
new file mode 100755
index 0000000000..41229f5090
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03120101.xhp
@@ -0,0 +1,90 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120101xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Asc Function [Runtime]</title>
+<filename>/text/sbasic/shared/03120101.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="asc">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3150499"><bookmark_value>Asc;function</bookmark_value></bookmark><paragraph id="hd_id3150499" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03120101.xhp" name="Asc Function [Runtime]">Asc Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3151384" l10n="U" xml-lang="en-US" oldref="2">Returns the ASCII (American Standard Code for Information Interchange) value of the first character in a string expression.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3155555" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3143267" l10n="U" xml-lang="en-US" oldref="4">Asc (Text As String)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3147242" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3150669" l10n="U" xml-lang="en-US" oldref="6">Integer</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3148473" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3149415" xml-lang="en-US" oldref="8"><emph>Text:</emph> Any valid string expression. Only the first character in the string is relevant.</paragraph>
+ <paragraph role="paragraph" id="par_id3145609" l10n="U" xml-lang="en-US" oldref="9">Use the Asc function to replace keys with values. If the Asc function encounters a blank string, $[officename] Basic reports a run-time error. In addition to printable 8 bit ASCII characters (Codes 32-255), the ASCII function can also detect non-printable key codes in ASCII code. This function can also handle 16 bit unicode characters.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3159413" l10n="U" xml-lang="en-US" oldref="10">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3149457" l10n="U" xml-lang="en-US" oldref="11">Sub ExampleASC</paragraph>
+ <paragraph role="paragraph" id="par_id3150792" l10n="U" xml-lang="en-US" oldref="12">Print ASC(&quot;A&quot;) REM returns 65</paragraph>
+ <paragraph role="paragraph" id="par_id3148797" l10n="U" xml-lang="en-US" oldref="13">Print ASC(&quot;Z&quot;) REM returns 90</paragraph>
+ <paragraph role="paragraph" id="par_id3163800" l10n="U" xml-lang="en-US" oldref="14">Print ASC(&quot;Las Vegas&quot;) REM returns 76, since only the first character is taken into account</paragraph>
+ <paragraph role="paragraph" id="par_id3148674" l10n="U" xml-lang="en-US" oldref="15">End Sub</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03120102.xhp b/helpcontent2/source/text/sbasic/shared/03120102.xhp
new file mode 100755
index 0000000000..de9d8d74d3
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03120102.xhp
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120102xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Chr Function [Runtime]</title>
+<filename>/text/sbasic/shared/03120102.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="chr">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3149205"><bookmark_value>Chr;function</bookmark_value></bookmark><paragraph id="hd_id3149205" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03120102.xhp" name="Chr Function [Runtime]">Chr Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3153311" l10n="U" xml-lang="en-US" oldref="2">Returns the character that corresponds to the specified character code.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3149514" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3150669" l10n="U" xml-lang="en-US" oldref="4">Chr(Expression As Integer)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3143228" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3153824" l10n="U" xml-lang="en-US" oldref="6">String</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3148944" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3149295" xml-lang="en-US" oldref="8"><emph>Expression:</emph> Numeric variables that represent a valid 8 bit ASCII value (0-255) or a 16 bit Unicode value.</paragraph>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3159414" l10n="U" oldref="9">Use the <emph>Chr$</emph> function to send special control sequences to a printer or to another output source. You can also use it to insert quotation marks in a string expression.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3154366" l10n="U" xml-lang="en-US" oldref="10">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3144502" l10n="U" xml-lang="en-US" oldref="11">sub ExampleChr</paragraph>
+ <paragraph role="paragraph" id="par_id3154909" l10n="U" xml-lang="en-US" oldref="12">REM This example inserts an apostrophe (ASCII value 34) in a string.</paragraph>
+ <paragraph role="paragraph" id="par_id3151380" l10n="U" xml-lang="en-US" oldref="13">MsgBox &quot;A &quot;+ Chr$(34)+&quot;short&quot; + Chr$(34)+&quot; trip.&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3145174" l10n="U" xml-lang="en-US" oldref="14">REM The printout appears in the dialog as: A &quot;short&quot; trip.</paragraph>
+ <paragraph role="paragraph" id="par_id3154685" l10n="U" xml-lang="en-US" oldref="15">end sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03120103.xhp b/helpcontent2/source/text/sbasic/shared/03120103.xhp
new file mode 100755
index 0000000000..c1e14edf1d
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03120103.xhp
@@ -0,0 +1,92 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120103xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Str Function [Runtime]</title>
+<filename>/text/sbasic/shared/03120103.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="str">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3143272"><bookmark_value>Str; function</bookmark_value></bookmark><paragraph id="hd_id3143272" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03120103.xhp" name="Str Function [Runtime]">Str Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3155100" l10n="U" xml-lang="en-US" oldref="2">Converts a numeric expression into a string.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3109850" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3149497" l10n="U" xml-lang="en-US" oldref="4">Str (Expression)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3150040" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3146117" l10n="U" xml-lang="en-US" oldref="6">String</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3155805" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3149178" xml-lang="en-US" oldref="8"><emph>Expression: </emph>Any numeric expression.</paragraph>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3146958" l10n="U" oldref="9">The <emph>Str</emph> function converts a numeric variable, or the result of a calculation into a string. Negative numbers are preceded by a minus sign. Positive numbers are preceded by a space (instead of the plus sign).</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3155419" l10n="U" xml-lang="en-US" oldref="10">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3149514" l10n="U" xml-lang="en-US" oldref="11">Sub ExampleStr</paragraph>
+ <paragraph role="paragraph" id="par_id3150771" l10n="U" xml-lang="en-US" oldref="12">Dim iVar As Single</paragraph>
+ <paragraph role="paragraph" id="par_id3153626" l10n="U" xml-lang="en-US" oldref="13">Dim sVar As String</paragraph>
+ <paragraph role="paragraph" id="par_id3145069" l10n="U" xml-lang="en-US" oldref="14">iVar = 123.123</paragraph>
+ <paragraph role="paragraph" id="par_id3153897" l10n="U" xml-lang="en-US" oldref="15">sVar = LTrim(Str(iVar))</paragraph>
+ <paragraph role="paragraph" id="par_id3154924" l10n="U" xml-lang="en-US" oldref="16">Msgbox sVar &amp; chr(13) &amp; Str(iVar)</paragraph>
+ <paragraph role="paragraph" id="par_id3152811" l10n="U" xml-lang="en-US" oldref="17">end sub</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03120104.xhp b/helpcontent2/source/text/sbasic/shared/03120104.xhp
new file mode 100755
index 0000000000..8112934997
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03120104.xhp
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120104xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Val Function [Runtime]</title>
+<filename>/text/sbasic/shared/03120104.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="val">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3149205"><bookmark_value>Val;function</bookmark_value></bookmark><paragraph id="hd_id3149205" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03120104.xhp" name="Val Function [Runtime]">Val Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3153345" l10n="U" xml-lang="en-US" oldref="2">Converts a string to a numeric expression.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3159157" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3149514" l10n="U" xml-lang="en-US" oldref="4">Val (Text As String)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3150669" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3143228" l10n="U" xml-lang="en-US" oldref="6">Double</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3156024" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3154348" xml-lang="en-US" oldref="8"><emph>Text:</emph> String that represents a number.</paragraph>
+ <paragraph xml-lang="en-US" oldref="9" role="paragraph" id="par_id3149670" l10n="U">Using the Val function, you can convert a string that represents numbers into numeric expressions. This is the inverse of the <emph>Str</emph> function. If only part of the string contains numbers, only the first appropriate characters of the string are converted. If the string does not contain any numbers, the <emph>Val</emph> function returns the value 0.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3154365" l10n="U" xml-lang="en-US" oldref="10">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3151177" l10n="U" xml-lang="en-US" oldref="11">Sub ExampleVal</paragraph>
+ <paragraph role="paragraph" id="par_id3159150" l10n="U" xml-lang="en-US" oldref="12">msgbox Val(&quot;123.123&quot;)</paragraph>
+ <paragraph role="paragraph" id="par_id3154126" l10n="U" xml-lang="en-US" oldref="13">msgbox Val(&quot;A123.123&quot;)</paragraph>
+ <paragraph role="paragraph" id="par_id3147229" l10n="U" xml-lang="en-US" oldref="14">end Sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03120105.xhp b/helpcontent2/source/text/sbasic/shared/03120105.xhp
new file mode 100755
index 0000000000..1157029968
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03120105.xhp
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120105xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">CByte Function [Runtime]</title>
+<filename>/text/sbasic/shared/03120105.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="cbyte">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3156027"><bookmark_value>CByte;function</bookmark_value></bookmark><paragraph id="hd_id3156027" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03120105.xhp" name="CByte Function [Runtime]">CByte Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3143267" l10n="U" xml-lang="en-US" oldref="2">Converts a string or a numeric expression to the type Byte.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3149811" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3147573" l10n="U" xml-lang="en-US" oldref="4">Cbyte( expression )</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3145315" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3148473" l10n="U" xml-lang="en-US" oldref="6">Byte</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3147530" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3145068" xml-lang="en-US" oldref="8"><emph>Expression:</emph> A string or a numeric expression.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03120200.xhp b/helpcontent2/source/text/sbasic/shared/03120200.xhp
new file mode 100755
index 0000000000..1188180df7
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03120200.xhp
@@ -0,0 +1,76 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120200xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Repeating Contents</title>
+<filename>/text/sbasic/shared/03120200.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="zeichen">
+ <paragraph id="hd_id3152363" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03120200.xhp" name="Repeating Contents">Repeating Contents</link></paragraph>
+ <paragraph role="paragraph" id="par_id3150178" l10n="U" xml-lang="en-US" oldref="2">The following functions repeat the contents of strings.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/03120201.xhp#space"/>
+ <embed href="text/sbasic/shared/03120202.xhp#string"/>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03120201.xhp b/helpcontent2/source/text/sbasic/shared/03120201.xhp
new file mode 100755
index 0000000000..b28649ab60
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03120201.xhp
@@ -0,0 +1,94 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120201xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Space Function [Runtime]</title>
+<filename>/text/sbasic/shared/03120201.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="space">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3150499"><bookmark_value>Space;function</bookmark_value></bookmark><paragraph id="hd_id3150499" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03120201.xhp" name="Space Function [Runtime]">Space Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3154927" l10n="U" xml-lang="en-US" oldref="2">Returns a string that consists of a specified amount of spaces.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3153394" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3143267" l10n="U" xml-lang="en-US" oldref="4">Space (n As Integer)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3147242" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3149233" l10n="U" xml-lang="en-US" oldref="6">String</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3156152" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3143228" xml-lang="en-US" oldref="8"><emph>n:</emph> Numeric expression that defines the number of spaces in the string.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3154760" l10n="U" xml-lang="en-US" oldref="9">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3147560" l10n="U" xml-lang="en-US" oldref="10">Sub ExampleSpace</paragraph>
+ <paragraph role="paragraph" id="par_id3149670" l10n="U" xml-lang="en-US" oldref="11">Dim sText As String,sOut As String</paragraph>
+ <paragraph role="paragraph" id="par_id3154938" l10n="U" xml-lang="en-US" oldref="12">DIm iLen As Integer</paragraph>
+ <paragraph role="paragraph" id="par_id3153525" l10n="U" xml-lang="en-US" oldref="13">iLen = 10</paragraph>
+ <paragraph role="paragraph" id="par_id3151211" l10n="U" xml-lang="en-US" oldref="14">sText = &quot;Las Vegas&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3156282" l10n="U" xml-lang="en-US" oldref="15">sOut = sText &amp; Space(iLen) &amp; sText &amp; Chr(13) &amp;_</paragraph>
+ <paragraph role="paragraph" id="par_id3144760" l10n="U" xml-lang="en-US" oldref="16">sText &amp; Space(iLen*2) &amp; sText &amp; Chr(13) &amp;_</paragraph>
+ <paragraph role="paragraph" id="par_id3159149" l10n="U" xml-lang="en-US" oldref="17">sText &amp; Space(iLen*4) &amp; sText &amp; Chr(13)</paragraph>
+ <paragraph role="paragraph" id="par_id3154216" l10n="U" xml-lang="en-US" oldref="18">msgBox sOut,0,&quot;Info:&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3158409" l10n="U" xml-lang="en-US" oldref="19">End Sub</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03120202.xhp b/helpcontent2/source/text/sbasic/shared/03120202.xhp
new file mode 100755
index 0000000000..56ada0f878
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03120202.xhp
@@ -0,0 +1,98 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120202xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">String Function [Runtime]</title>
+<filename>/text/sbasic/shared/03120202.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="string">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3147291"><bookmark_value>String;function</bookmark_value></bookmark><paragraph id="hd_id3147291" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03120202.xhp" name="String Function [Runtime]">String Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3147242" l10n="U" xml-lang="en-US" oldref="2">Creates a string according to the specified character, or the first character of a string expression that is passed to the function.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3149516" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3149233" l10n="U" xml-lang="en-US" oldref="4">String (n As Integer, {expression As Integer | character As String})</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3143270" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3147530" l10n="U" xml-lang="en-US" oldref="6">String</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3154923" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3154347" xml-lang="en-US" oldref="8"><emph>n:</emph> Numeric expression that indicates the number of characters to return in the string.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3148664" xml-lang="en-US" oldref="9"><emph>Expression:</emph> Numeric expression that defines the ASCII code for the character.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150359" xml-lang="en-US" oldref="10"><emph>Character:</emph> Any single character used to build the return string, or any string of which only the first character will be used.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3152920" l10n="U" xml-lang="en-US" oldref="11">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3149203" l10n="U" xml-lang="en-US" oldref="12">Sub ExampleString</paragraph>
+ <paragraph role="paragraph" id="par_id3154124" l10n="U" xml-lang="en-US" oldref="13">Dim sText as String</paragraph>
+
+ <paragraph role="paragraph" id="par_id3147230" l10n="U" xml-lang="en-US" oldref="15">sText = String(10,&quot;A&quot;)</paragraph>
+ <paragraph role="paragraph" id="par_id3153970" l10n="U" xml-lang="en-US" oldref="16">Msgbox sText</paragraph>
+
+ <paragraph role="paragraph" id="par_id3145785" l10n="U" xml-lang="en-US" oldref="18">sText = String(10,65)</paragraph>
+ <paragraph role="paragraph" id="par_id3147288" l10n="U" xml-lang="en-US" oldref="19">Msgbox sText</paragraph>
+
+ <paragraph role="paragraph" id="par_id3152578" l10n="U" xml-lang="en-US" oldref="21">sText = String(10,&quot;XYZ&quot;)</paragraph>
+ <paragraph role="paragraph" id="par_id3147215" l10n="U" xml-lang="en-US" oldref="22">Msgbox sText</paragraph>
+
+ <paragraph role="paragraph" id="par_id3153138" l10n="U" xml-lang="en-US" oldref="24">End Sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03120300.xhp b/helpcontent2/source/text/sbasic/shared/03120300.xhp
new file mode 100755
index 0000000000..5032435899
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03120300.xhp
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120300xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Editing String Contents</title>
+<filename>/text/sbasic/shared/03120300.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-05-06T11:45:15">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="manipu">
+<paragraph role="heading" id="hd_id3153894" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03120300.xhp" name="Editing String Contents">Editing String Contents</link></paragraph>
+<paragraph role="paragraph" id="par_id3149178" xml-lang="en-US" l10n="CHG" oldref="2">The following functions edit, format, and align the contents of strings. Use the &amp; operator to concatenate strings.</paragraph>
+</section>
+<embed href="text/sbasic/shared/03120301.xhp#format"/>
+<embed href="text/sbasic/shared/03120302.xhp#lcase"/>
+<embed href="text/sbasic/shared/03120303.xhp#left"/>
+<embed href="text/sbasic/shared/03120304.xhp#lset"/>
+<embed href="text/sbasic/shared/03120305.xhp#ltrim"/>
+<embed href="text/sbasic/shared/03120306.xhp#mid"/>
+<embed href="text/sbasic/shared/03120307.xhp#right"/>
+<embed href="text/sbasic/shared/03120308.xhp#rset"/>
+<embed href="text/sbasic/shared/03120309.xhp#rtrim"/>
+<embed href="text/sbasic/shared/03120311.xhp#trim"/>
+<embed href="text/sbasic/shared/03120310.xhp#ucase"/>
+<embed href="text/sbasic/shared/03120314.xhp#split"/>
+<embed href="text/sbasic/shared/03120315.xhp#join"/>
+<embed href="text/sbasic/shared/03120312.xhp#converttourl"/>
+<embed href="text/sbasic/shared/03120313.xhp#convertfromurl"/>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03120301.xhp b/helpcontent2/source/text/sbasic/shared/03120301.xhp
new file mode 100755
index 0000000000..dc6af8e735
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03120301.xhp
@@ -0,0 +1,120 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120301xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Format Function [Runtime]</title>
+<filename>/text/sbasic/shared/03120301.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="format">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3153539"><bookmark_value>Format;function</bookmark_value></bookmark><paragraph id="hd_id3153539" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03120301.xhp" name="Format Function [Runtime]">Format Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3156042" l10n="U" xml-lang="en-US" oldref="2">Converts a number to a string, and then formats it according to the format that you specify.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3145090" l10n="U" xml-lang="en-US" oldref="4">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3153527" l10n="U" xml-lang="en-US" oldref="5">Format (Number [, Format As String])</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3149178" l10n="U" xml-lang="en-US" oldref="6">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3148474" l10n="U" xml-lang="en-US" oldref="7">String</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3159176" l10n="U" xml-lang="en-US" oldref="8">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3149415" xml-lang="en-US" oldref="9"><emph>Number:</emph> Numeric expression that you want to convert to a formatted string.</paragraph>
+ <paragraph l10n="U" xml-lang="en-US" oldref="10" role="paragraph" id="par_id3147531"><emph>Format:</emph> String that specifies the format code for the number. If <emph>Format</emph> is omitted, the Format function works like the <emph>Str</emph> function.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3147561" l10n="U" xml-lang="en-US" oldref="47">Formatting Codes</paragraph>
+ <paragraph role="paragraph" id="par_id3147265" l10n="U" xml-lang="en-US" oldref="11">The following list describes the codes that you can use for formatting a number:</paragraph>
+ <paragraph l10n="U" xml-lang="en-US" role="paragraph" id="par_id3153380" oldref="12"><emph>0:</emph> If <emph>Number</emph> has a digit at the position of the 0 in the format code, the digit is displayed, otherwise a zero is displayed.</paragraph>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3151210" l10n="U" oldref="13">If <emph>Number</emph> has fewer digits than the number of zeros in the format code, (on either side of the decimal), leading or trailing zeros are displayed. If the number has more digits to the left of the decimal separator than the amount of zeros in the format code, the additional digits are displayed without formatting.</paragraph>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3151176" l10n="U" oldref="14">Decimal places in the number are rounded according to the number of zeros that appear after the decimal separator in the <emph>Format </emph>code.</paragraph>
+ <paragraph l10n="U" xml-lang="en-US" oldref="15" role="paragraph" id="par_id3154123"><emph>#:</emph> If <emph>Number</emph> contains a digit at the position of the # placeholder in the <emph>Format</emph> code, the digit is displayed, otherwise nothing is displayed at this position.</paragraph>
+ <paragraph role="paragraph" id="par_id3148452" l10n="U" xml-lang="en-US" oldref="16">This symbol works like the 0, except that leading or trailing zeroes are not displayed if there are more # characters in the format code than digits in the number. Only the relevant digits of the number are displayed.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3159150" xml-lang="en-US" oldref="17"><emph>.:</emph> The decimal placeholder determines the number of decimal places to the left and right of the decimal separator.</paragraph>
+ <paragraph role="paragraph" id="par_id3159252" l10n="U" xml-lang="en-US" oldref="18">If the format code contains only # placeholders to the left of this symbol, numbers less than 1 begin with a decimal separator. To always display a leading zero with fractional numbers, use 0 as a placeholder for the first digit to the left of the decimal separator.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3153368" xml-lang="en-US" oldref="19"><emph>%:</emph> Multiplies the number by 100 and inserts the percent sign (%) where the number appears in the format code.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3149481" xml-lang="en-US" oldref="20"><emph>E- E+ e- e+ :</emph> If the format code contains at least one digit placeholder (0 or #) to the right of the symbol E-, E+, e-, or e+, the number is formatted in the scientific or exponential format. The letter E or e is inserted between the number and the exponent. The number of placeholders for digits to the right of the symbol determines the number of digits in the exponent.</paragraph>
+ <paragraph role="paragraph" id="par_id3149262" l10n="U" xml-lang="en-US" oldref="21">If the exponent is negative, a minus sign is displayed directly before an exponent with E-, E+, e-, e+. If the exponent is positive, a plus sign is only displayed before exponents with E+ or e+.</paragraph>
+ <paragraph role="paragraph" id="par_id3148617" l10n="U" xml-lang="en-US" oldref="23">The thousands delimiter is displayed if the format code contains the delimiter enclosed by digit placeholders (0 or #).</paragraph>
+ <paragraph role="paragraph" id="par_id3163713" l10n="U" xml-lang="en-US" oldref="29">The use of a period as a thousands and decimal separator is dependent on the regional setting. The actual character displayed as a decimal separator depends on the number format in your system settings. The examples shown here assume that the regional setting is &quot;US&quot;.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3152887" xml-lang="en-US" oldref="24"><emph>- + $ ( ) space:</emph> A plus (+), minus (-), dollar ($), space, or brackets entered directly in the format code is displayed as a literal character.</paragraph>
+ <paragraph role="paragraph" id="par_id3148576" l10n="U" xml-lang="en-US" oldref="25">To display characters other than the ones listed here, you must precede it by a backslash (\), or enclose it in quotation marks (&quot; &quot;).</paragraph>
+ <paragraph role="paragraph" id="par_id3153139" l10n="U" xml-lang="en-US" oldref="26">\ : The backslash displays the next character in the format code.</paragraph>
+ <paragraph role="paragraph" id="par_id3153366" l10n="U" xml-lang="en-US" oldref="27">Characters in the format code that have a special meaning can only be displayed as literal characters if they are preceded by a backslash. The backslash itself is not displayed, unless you enter a double backslash (\\) in the format code.</paragraph>
+ <paragraph role="paragraph" id="par_id3155411" l10n="U" xml-lang="en-US" oldref="28">Characters that must be preceded by a backslash in the format code in order to be displayed as literal characters are date- and time-formatting characters (a, c, d, h, m, n, p, q, s, t, w, y, /, :), numeric-formatting characters (#, 0, %, E, e, comma, period), and string-formatting characters (@, &amp;, &lt;, &gt;, !).</paragraph>
+ <paragraph role="paragraph" id="par_id3145749" l10n="U" xml-lang="en-US" oldref="30">You can also use the following predefined number formats. Except for &quot;General Number&quot;, all of the predefined format codes return the number as a decimal number with two decimal places.</paragraph>
+ <paragraph role="paragraph" id="par_id3150113" l10n="U" xml-lang="en-US" oldref="31">If you use predefined formats, the name of the format must be enclosed in quotation marks.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3149377" l10n="U" xml-lang="en-US" oldref="32">Predefined format</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3154730" xml-lang="en-US" oldref="33"><emph>General Number:</emph> Numbers are displayed as entered.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3153158" xml-lang="en-US" oldref="34"><emph>Currency:</emph> Inserts a dollar sign in front of the number and encloses negative numbers in brackets.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3154490" xml-lang="en-US" oldref="35"><emph>Fixed:</emph> Displays at least one digit in front of the decimal separator.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3153415" xml-lang="en-US" oldref="36"><emph>Standard:</emph> Displays numbers with a thousands separator.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150715" xml-lang="en-US" oldref="37"><emph>Percent:</emph> Multiplies the number by 100 and appends a percent sign to the number.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3153836" xml-lang="en-US" oldref="38"><emph>Scientific:</emph> Displays numbers in scientific format (for example, 1,00E+03 for 1000).</paragraph>
+ <paragraph role="paragraph" id="par_id3153707" l10n="U" xml-lang="en-US" oldref="39">A format code can be divided into three sections that are separated by semicolons. The first part defines the format for positive values, the second part for negative values, and the third part for zero. If you only specify one format code, it applies to all numbers.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#languageformat"/>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3149019" l10n="U" xml-lang="en-US" oldref="40">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3156054" l10n="U" xml-lang="en-US" oldref="41">Sub ExampleFormat</paragraph>
+ <paragraph role="paragraph" id="par_id3148993" l10n="U" xml-lang="en-US" oldref="42">MsgBox Format(6328.2, &quot;##,##0.00&quot;) </paragraph>
+ <paragraph role="paragraph" id="par_id3147339" l10n="U" xml-lang="en-US" oldref="46">REM displays for example 6,328.20 in English locale, 6.328,20 in German locale</paragraph>
+ <paragraph role="paragraph" id="par_id3156382" l10n="U" xml-lang="en-US" oldref="43">End Sub</paragraph>
+
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03120302.xhp b/helpcontent2/source/text/sbasic/shared/03120302.xhp
new file mode 100755
index 0000000000..202142be5e
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03120302.xhp
@@ -0,0 +1,90 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120302xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">LCase Function [Runtime]</title>
+<filename>/text/sbasic/shared/03120302.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="lcase">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3152363"><bookmark_value>LCase;function</bookmark_value></bookmark><paragraph id="hd_id3152363" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03120302.xhp" name="LCase Function [Runtime]">LCase Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3145609" l10n="U" xml-lang="en-US" oldref="2">Converts all uppercase letters in a string to lowercase.</paragraph>
+ </section>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3154347" l10n="U" oldref="3">See also: <link href="text/sbasic/shared/03120310.xhp" name="UCase">UCase</link> Function</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3149456" l10n="U" xml-lang="en-US" oldref="4">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3150791" l10n="U" xml-lang="en-US" oldref="5">LCase (Text As String)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3154940" l10n="U" xml-lang="en-US" oldref="6">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3144760" l10n="U" xml-lang="en-US" oldref="7">String</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3151043" l10n="U" xml-lang="en-US" oldref="8">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3153193" xml-lang="en-US" oldref="9"><emph>Text:</emph> Any string expression that you want to convert.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3148451" l10n="U" xml-lang="en-US" oldref="10">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3149203" l10n="U" xml-lang="en-US" oldref="11">Sub ExampleLUCase</paragraph>
+ <paragraph role="paragraph" id="par_id3150440" l10n="U" xml-lang="en-US" oldref="12">Dim sVar As String</paragraph>
+ <paragraph role="paragraph" id="par_id3153367" l10n="U" xml-lang="en-US" oldref="13">sVar = &quot;Las Vegas&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3146121" l10n="U" xml-lang="en-US" oldref="14">Print LCase(sVar) REM Returns &quot;las vegas&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3146986" l10n="U" xml-lang="en-US" oldref="15">Print UCase(sVar) REM Returns &quot;LAS VEGAS&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3153575" l10n="U" xml-lang="en-US" oldref="16">end Sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03120303.xhp b/helpcontent2/source/text/sbasic/shared/03120303.xhp
new file mode 100755
index 0000000000..7b6309880f
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03120303.xhp
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120303xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Left Function [Runtime]</title>
+<filename>/text/sbasic/shared/03120303.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="left">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3149346"><bookmark_value>Left;function</bookmark_value></bookmark><paragraph id="hd_id3149346" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03120303.xhp" name="Left Function [Runtime]">Left Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3147242" l10n="U" xml-lang="en-US" oldref="2">Returns the number of leftmost characters that you specify of a string expression.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3156153" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3150771" l10n="U" xml-lang="en-US" oldref="4">Left (Text As String, n As Integer)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3153824" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3147530" l10n="U" xml-lang="en-US" oldref="6">String</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3148946" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3148552" xml-lang="en-US" oldref="8"><emph>Text:</emph> Any string expression that you want to return the leftmost characters from.</paragraph>
+ <paragraph l10n="U" xml-lang="en-US" role="paragraph" id="par_id3149456" oldref="9"><emph>n:</emph> Integer expression that specifies the number of characters that you want to return. If <emph>n</emph> = 0, a zero-length string is returned.</paragraph>
+ <paragraph role="paragraph" id="par_id3150791" l10n="U" xml-lang="en-US" oldref="10">The following example converts a date in YYYY.MM.DD format to MM/DD/YYYY format.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3125863" l10n="U" xml-lang="en-US" oldref="11">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3144761" l10n="U" xml-lang="en-US" oldref="12">Sub ExampleUSDate</paragraph>
+ <paragraph role="paragraph" id="par_id3153194" l10n="U" xml-lang="en-US" oldref="13">Dim sInput As String</paragraph>
+ <paragraph role="paragraph" id="par_id3154217" l10n="U" xml-lang="en-US" oldref="14">Dim sUS_date As String</paragraph>
+ <paragraph role="paragraph" id="par_id3150448" l10n="U" xml-lang="en-US" oldref="15">sInput = InputBox(&quot;Please input a date in the international format 'YYYY-MM-DD'&quot;)</paragraph>
+ <paragraph role="paragraph" id="par_id3149203" l10n="U" xml-lang="en-US" oldref="16">sUS_date = Mid(sInput, 6, 2)</paragraph>
+ <paragraph role="paragraph" id="par_id3150439" l10n="U" xml-lang="en-US" oldref="17">sUS_date = sUS_date &amp; &quot;/&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3153770" l10n="U" xml-lang="en-US" oldref="18">sUS_date = sUS_date &amp; Right(sInput, 2)</paragraph>
+ <paragraph role="paragraph" id="par_id3161833" l10n="U" xml-lang="en-US" oldref="19">sUS_date = sUS_date &amp; &quot;/&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3147215" l10n="U" xml-lang="en-US" oldref="20">sUS_date = sUS_date &amp; Left(sInput, 4)</paragraph>
+ <paragraph role="paragraph" id="par_id3149666" l10n="U" xml-lang="en-US" oldref="21">MsgBox sUS_date</paragraph>
+ <paragraph role="paragraph" id="par_id3153138" l10n="U" xml-lang="en-US" oldref="22">End Sub</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03120304.xhp b/helpcontent2/source/text/sbasic/shared/03120304.xhp
new file mode 100755
index 0000000000..62141ba47e
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03120304.xhp
@@ -0,0 +1,110 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120304xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">LSet Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03120304.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="lset">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3143268"><bookmark_value>LSet;statement</bookmark_value></bookmark><paragraph id="hd_id3143268" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03120304.xhp" name="LSet Statement [Runtime]">LSet Statement [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3155419" l10n="U" xml-lang="en-US" oldref="2">Aligns a string to the left of a string variable, or copies a variable of a user-defined type to another variable of a different user-defined type.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3145317" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <bookmark xml-lang="en-US" branch="index" id="bm_id2808931"><bookmark_value>LSet</bookmark_value></bookmark><paragraph role="paragraph" id="par_id3150984" l10n="U" xml-lang="en-US" oldref="4">LSet Var As String = Text or LSet Var1 = Var2</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3143271" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3145610" xml-lang="en-US" oldref="6"><emph>Var:</emph> Any String variable that contains the string that you want align to the left.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3154346" xml-lang="en-US" oldref="7"><emph>Text:</emph> String that you want to align to the left of the string variable.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3151054" xml-lang="en-US" oldref="8"><emph>Var1:</emph> Name of the user-defined type variable that you want to copy to.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3153361" xml-lang="en-US" oldref="9"><emph>Var2:</emph> Name of the user-defined type variable that you want to copy from.</paragraph>
+ <paragraph xml-lang="en-US" oldref="10" role="paragraph" id="par_id3154686" l10n="U">If the string is shorter than the string variable, <emph>LSet</emph> left-aligns the string within the string variable. Any remaining positions in the string variable are replaced by spaces. If the string is longer than the string variable, only the leftmost characters up to the length of the string variable are copied. With the <emph>LSet</emph> statement, you can also copy a user-defined type variable to another variable of the same type.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3156282" l10n="U" xml-lang="en-US" oldref="11">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3153193" l10n="U" xml-lang="en-US" oldref="12">Sub ExampleRLSet</paragraph>
+ <paragraph role="paragraph" id="par_id3150768" l10n="U" xml-lang="en-US" oldref="13">Dim sVar As String</paragraph>
+ <paragraph role="paragraph" id="par_id3150447" l10n="U" xml-lang="en-US" oldref="14">Dim sExpr As String</paragraph>
+
+ <paragraph role="paragraph" id="par_id3149561" l10n="U" xml-lang="en-US" oldref="16">sVar = String(40,&quot;*&quot;)</paragraph>
+ <paragraph role="paragraph" id="par_id3153768" l10n="U" xml-lang="en-US" oldref="17">sExpr = &quot;SBX&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3152940" l10n="U" xml-lang="en-US" oldref="18">REM Align &quot;SBX&quot; within the 40-character reference string</paragraph>
+ <paragraph role="paragraph" id="par_id3148647" l10n="U" xml-lang="en-US" oldref="19">REM Replace asterisks with spaces</paragraph>
+ <paragraph role="paragraph" id="par_id3146119" l10n="U" xml-lang="en-US" oldref="20">RSet sVar = sExpr</paragraph>
+ <paragraph role="paragraph" id="par_id3153365" l10n="U" xml-lang="en-US" oldref="21">Print &quot;&gt;&quot;; sVar; &quot;&lt;&quot;</paragraph>
+
+ <paragraph role="paragraph" id="par_id3149260" l10n="U" xml-lang="en-US" oldref="23">sVar = String(5,&quot;*&quot;)</paragraph>
+ <paragraph role="paragraph" id="par_id3147436" l10n="U" xml-lang="en-US" oldref="24">sExpr = &quot;123457896&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3146923" l10n="U" xml-lang="en-US" oldref="25">RSet sVar = sExpr</paragraph>
+ <paragraph role="paragraph" id="par_id3151114" l10n="U" xml-lang="en-US" oldref="26">Print &quot;&gt;&quot;; sVar; &quot;&lt;&quot;</paragraph>
+
+ <paragraph role="paragraph" id="par_id3155855" l10n="U" xml-lang="en-US" oldref="28">sVar = String(40,&quot;*&quot;)</paragraph>
+ <paragraph role="paragraph" id="par_id3145253" l10n="U" xml-lang="en-US" oldref="29">sExpr = &quot;SBX&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3151075" l10n="U" xml-lang="en-US" oldref="30">REM Left-align &quot;SBX&quot; within the 40-character reference string</paragraph>
+ <paragraph role="paragraph" id="par_id3147126" l10n="U" xml-lang="en-US" oldref="31">LSet sVar = sExpr</paragraph>
+ <paragraph role="paragraph" id="par_id3154792" l10n="U" xml-lang="en-US" oldref="32">Print &quot;&gt;&quot;; sVar; &quot;&lt;&quot;</paragraph>
+
+ <paragraph role="paragraph" id="par_id3154942" l10n="U" xml-lang="en-US" oldref="34">sVar = String(5,&quot;*&quot;)</paragraph>
+ <paragraph role="paragraph" id="par_id3155603" l10n="U" xml-lang="en-US" oldref="35">sExpr = &quot;123456789&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3150716" l10n="U" xml-lang="en-US" oldref="36">LSet sVar = sExpr</paragraph>
+ <paragraph role="paragraph" id="par_id3146969" l10n="U" xml-lang="en-US" oldref="37">Print &quot;&gt;&quot;; sVar; &quot;&lt;&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3150749" l10n="U" xml-lang="en-US" oldref="38">End Sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03120305.xhp b/helpcontent2/source/text/sbasic/shared/03120305.xhp
new file mode 100755
index 0000000000..15d4ccc7ac
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03120305.xhp
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120305xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">LTrim Function [Runtime]</title>
+<filename>/text/sbasic/shared/03120305.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="ltrim">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3147574"><bookmark_value>LTrim;function</bookmark_value></bookmark><paragraph id="hd_id3147574" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03120305.xhp" name="LTrim Function [Runtime]">LTrim Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3145316" l10n="U" xml-lang="en-US" oldref="2">Removes all leading spaces at the start of a string expression.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3154924" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3148552" l10n="U" xml-lang="en-US" oldref="4">LTrim (Text As String)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3156344" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3151056" l10n="U" xml-lang="en-US" oldref="6">String</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3150543" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150792" xml-lang="en-US" oldref="8"><emph>Text:</emph> Any string expression.</paragraph>
+ <paragraph role="paragraph" id="par_id3125863" l10n="U" xml-lang="en-US" oldref="9">Use this function to remove spaces at the beginning of a string expression.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3145419" l10n="U" xml-lang="en-US" oldref="10">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3154909" l10n="U" xml-lang="en-US" oldref="11">Sub ExampleSpaces</paragraph>
+ <paragraph role="paragraph" id="par_id3150768" l10n="U" xml-lang="en-US" oldref="12">Dim sText2 As String,sText As String,sOut As String</paragraph>
+ <paragraph role="paragraph" id="par_id3149204" l10n="U" xml-lang="en-US" oldref="13">sText2 = &quot; &lt;*Las Vegas*&gt; &quot;</paragraph>
+
+ <paragraph role="paragraph" id="par_id3159252" l10n="U" xml-lang="en-US" oldref="15">sOut = &quot;'&quot;+sText2 +&quot;'&quot;+ Chr(13)</paragraph>
+ <paragraph role="paragraph" id="par_id3147350" l10n="U" xml-lang="en-US" oldref="16">sText = Ltrim(sText2) REM sText = &lt;*Las Vegas*&gt; &quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3153951" l10n="U" xml-lang="en-US" oldref="17">sOut = sOut + &quot;'&quot;+sText +&quot;'&quot; + Chr(13)</paragraph>
+ <paragraph role="paragraph" id="par_id3153363" l10n="U" xml-lang="en-US" oldref="18">sText = Rtrim(sText2) REM sText = &quot; &lt;*Las Vegas*&gt; &quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3159154" l10n="U" xml-lang="en-US" oldref="19">sOut = sOut +&quot;'&quot;+ sText +&quot;'&quot; + Chr(13)</paragraph>
+ <paragraph role="paragraph" id="par_id3154322" l10n="U" xml-lang="en-US" oldref="20">sText = Trim(sText2) REM sText = &quot; &lt;*Las Vegas*&gt; &quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3146924" l10n="U" xml-lang="en-US" oldref="21">sOut = sOut +&quot;'&quot;+ sText +&quot;'&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3156444" l10n="U" xml-lang="en-US" oldref="22">MsgBox sOut</paragraph>
+ <paragraph role="paragraph" id="par_id3147318" l10n="U" xml-lang="en-US" oldref="23">end sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03120306.xhp b/helpcontent2/source/text/sbasic/shared/03120306.xhp
new file mode 100755
index 0000000000..04b9a591b0
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03120306.xhp
@@ -0,0 +1,99 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120306xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Mid Function, Mid Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03120306.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="mid">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3143268"><bookmark_value>Mid;function</bookmark_value></bookmark><paragraph id="hd_id3143268" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03120306.xhp" name="Mid Function, Mid Statement [Runtime]">Mid Function, Mid Statement [Runtime]</link></paragraph>
+ <paragraph xml-lang="en-US" oldref="2" role="paragraph" id="par_id3148473" l10n="U">Returns the specified portion of a string expression (<emph>Mid function</emph>), or replaces the portion of a string expression with another string (<emph>Mid statement</emph>).</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3154285" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3147530" l10n="U" xml-lang="en-US" oldref="4">Mid (Text As String, Start As Integer [, Length As Integer]) or Mid (Text As String, Start As Integer , Length As Integer, Text As String)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3145068" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3149295" l10n="U" xml-lang="en-US" oldref="6">String (only by Function)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3154347" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3148664" xml-lang="en-US" oldref="8"><emph>Text:</emph> Any string expression that you want to modify.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150359" xml-lang="en-US" oldref="9"><emph>Start: </emph>Integer expression that indicates the character position within the string where the string portion that you want to replace or to return begins.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3148451" xml-lang="en-US" oldref="10"><emph>Length:</emph> Integer expression that returns the number of characters that you want to replace or return.</paragraph>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3125864" l10n="U" oldref="11">If the Length parameter in the <emph>Mid function</emph> is omitted, all characters in the string expression from the start position to the end of the string are returned.</paragraph>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3144762" l10n="U" oldref="12">If the Length parameter in the <emph>Mid statement</emph> is less than the length of the text that you want to replace, the text is reduced to the specified length.</paragraph>
+ <paragraph l10n="U" xml-lang="en-US" role="paragraph" id="par_id3150769" oldref="13"><emph>Text:</emph> The string to replace the string expression (<emph>Mid statement</emph>).</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3149560" l10n="U" xml-lang="en-US" oldref="14">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3150439" l10n="U" xml-lang="en-US" oldref="15">Sub ExampleUSDate</paragraph>
+ <paragraph role="paragraph" id="par_id3147349" l10n="U" xml-lang="en-US" oldref="16">Dim sInput As String</paragraph>
+ <paragraph role="paragraph" id="par_id3155854" l10n="U" xml-lang="en-US" oldref="17">Dim sUS_date As String</paragraph>
+ <paragraph role="paragraph" id="par_id3153189" l10n="U" xml-lang="en-US" oldref="18">sInput = InputBox(&quot;Please input a date in the international format 'YYYY-MM-DD'&quot;)</paragraph>
+ <paragraph role="paragraph" id="par_id3148645" l10n="U" xml-lang="en-US" oldref="19">sUS_date = Mid(sInput, 6, 2)</paragraph>
+ <paragraph role="paragraph" id="par_id3153952" l10n="U" xml-lang="en-US" oldref="20">sUS_date = sUS_date &amp; &quot;/&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3153364" l10n="U" xml-lang="en-US" oldref="21">sUS_date = sUS_date &amp; Right(sInput, 2)</paragraph>
+ <paragraph role="paragraph" id="par_id3146975" l10n="U" xml-lang="en-US" oldref="22">sUS_date = sUS_date &amp; &quot;/&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3149665" l10n="U" xml-lang="en-US" oldref="23">sUS_date = sUS_date &amp; Left(sInput, 4)</paragraph>
+ <paragraph role="paragraph" id="par_id3150011" l10n="U" xml-lang="en-US" oldref="24">MsgBox sUS_date</paragraph>
+ <paragraph role="paragraph" id="par_id3148618" l10n="U" xml-lang="en-US" oldref="25">End Sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03120307.xhp b/helpcontent2/source/text/sbasic/shared/03120307.xhp
new file mode 100755
index 0000000000..a59c337966
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03120307.xhp
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120307xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Right Function [Runtime]</title>
+<filename>/text/sbasic/shared/03120307.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="right">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3153311"><bookmark_value>Right;function</bookmark_value></bookmark><paragraph id="hd_id3153311" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03120307.xhp" name="Right Function [Runtime]">Right Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3150984" l10n="U" xml-lang="en-US" oldref="2">Returns the rightmost &quot;n&quot; characters of a string expression.</paragraph>
+ </section>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3149763" l10n="U" oldref="3">See also: <link href="text/sbasic/shared/03120303.xhp" name="Left Function">Left Function</link>.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3145315" l10n="U" xml-lang="en-US" oldref="4">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3153061" l10n="U" xml-lang="en-US" oldref="5">Right (Text As String, n As Integer)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3145068" l10n="U" xml-lang="en-US" oldref="6">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3156344" l10n="U" xml-lang="en-US" oldref="7">String</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3146795" l10n="U" xml-lang="en-US" oldref="8">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3153526" xml-lang="en-US" oldref="9"><emph>Text:</emph> Any string expression that you want to return the rightmost characters of.</paragraph>
+ <paragraph l10n="U" xml-lang="en-US" role="paragraph" id="par_id3151211" oldref="10"><emph>n:</emph> Integer expression that defines the number of characters that you want to return. If <emph>n</emph> = 0, a zero-length string is returned.</paragraph>
+ <paragraph role="paragraph" id="par_id3158410" l10n="U" xml-lang="en-US" oldref="11">The following example converts a date in YYYY-MM-DD format to the US date format (MM/DD/YYYY).</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3156212" l10n="U" xml-lang="en-US" oldref="12">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3150869" l10n="U" xml-lang="en-US" oldref="13">Sub ExampleUSDate</paragraph>
+ <paragraph role="paragraph" id="par_id3153105" l10n="U" xml-lang="en-US" oldref="14">Dim sInput As String</paragraph>
+ <paragraph role="paragraph" id="par_id3154124" l10n="U" xml-lang="en-US" oldref="15">Dim sUS_date As String</paragraph>
+ <paragraph role="paragraph" id="par_id3159252" l10n="U" xml-lang="en-US" oldref="16">sInput = InputBox(&quot;Please input a date in the international format 'YYYY-MM-DD'&quot;)</paragraph>
+ <paragraph role="paragraph" id="par_id3149561" l10n="U" xml-lang="en-US" oldref="17">sUS_date = Mid(sInput, 6, 2)</paragraph>
+ <paragraph role="paragraph" id="par_id3146984" l10n="U" xml-lang="en-US" oldref="18">sUS_date = sUS_date &amp; &quot;/&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3155308" l10n="U" xml-lang="en-US" oldref="19">sUS_date = sUS_date &amp; Right(sInput, 2)</paragraph>
+ <paragraph role="paragraph" id="par_id3153727" l10n="U" xml-lang="en-US" oldref="20">sUS_date = sUS_date &amp; &quot;/&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3145365" l10n="U" xml-lang="en-US" oldref="21">sUS_date = sUS_date &amp; Left(sInput, 4)</paragraph>
+ <paragraph role="paragraph" id="par_id3152940" l10n="U" xml-lang="en-US" oldref="22">MsgBox sUS_date</paragraph>
+ <paragraph role="paragraph" id="par_id3146120" l10n="U" xml-lang="en-US" oldref="23">End Sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03120308.xhp b/helpcontent2/source/text/sbasic/shared/03120308.xhp
new file mode 100755
index 0000000000..3c1d6e18f7
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03120308.xhp
@@ -0,0 +1,112 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120308xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">RSet Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03120308.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="rset">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3153345"><bookmark_value>RSet;statement</bookmark_value></bookmark><paragraph id="hd_id3153345" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03120308.xhp" name="RSet Statement [Runtime]">RSet Statement [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3150503" l10n="U" xml-lang="en-US" oldref="2">Right-aligns a string within a string variable, or copies a user-defined variable type into another.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3149234" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3150669" l10n="U" xml-lang="en-US" oldref="4">RSet Text As String = Text or RSet Variable1 = Variable2</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3156024" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3148552" xml-lang="en-US" oldref="6"><emph>Text:</emph> Any string variable.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3154924" xml-lang="en-US" oldref="7"><emph>Text</emph>: String that you want to right-align in the string variable.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3149456" xml-lang="en-US" oldref="8"><emph>Variable1:</emph> User-defined variable that is the target for the copied variable.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3153381" xml-lang="en-US" oldref="9"><emph>Variable2:</emph> User-defined variable that you want to copy to another variable.</paragraph>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3154140" l10n="U" oldref="10">If the string is shorter than the string variable, <emph>RSet</emph> aligns the string to the right within the string variable. Any remaining characters in the string variable are replaced with spaces. If the string is longer than the string variable, characters exceeding the length of the variable are truncated, and only the remaining characters are right-aligned within the string variable.</paragraph>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3149202" l10n="U" oldref="11">You can also use the <emph>RSet statement</emph> to assign variables of one user-defined type to another.</paragraph>
+ <paragraph xml-lang="en-US" oldref="12" role="paragraph" id="par_id3151042" l10n="U">The following example uses the <emph>RSet</emph> and <emph>LSet</emph> statements to modify the left and right alignment of a string.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3154909" l10n="U" xml-lang="en-US" oldref="13">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3154218" l10n="U" xml-lang="en-US" oldref="14">Sub ExampleRLSet</paragraph>
+ <paragraph role="paragraph" id="par_id3147288" l10n="U" xml-lang="en-US" oldref="15">Dim sVar as string</paragraph>
+ <paragraph role="paragraph" id="par_id3153367" l10n="U" xml-lang="en-US" oldref="16">Dim sExpr as string</paragraph>
+
+ <paragraph role="paragraph" id="par_id3153952" l10n="U" xml-lang="en-US" oldref="18">sVar = String(40,&quot;*&quot;)</paragraph>
+ <paragraph role="paragraph" id="par_id3154013" l10n="U" xml-lang="en-US" oldref="19">sExpr = &quot;SBX&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3155856" l10n="U" xml-lang="en-US" oldref="20">REM Right-align &quot;SBX&quot; in a 40-character string</paragraph>
+ <paragraph role="paragraph" id="par_id3152577" l10n="U" xml-lang="en-US" oldref="21">REM Replace asterisks with spaces</paragraph>
+ <paragraph role="paragraph" id="par_id3149260" l10n="U" xml-lang="en-US" oldref="22">RSet sVar = sExpr</paragraph>
+ <paragraph role="paragraph" id="par_id3156444" l10n="U" xml-lang="en-US" oldref="23">Print &quot;&gt;&quot;; sVar; &quot;&lt;&quot;</paragraph>
+
+ <paragraph role="paragraph" id="par_id3148575" l10n="U" xml-lang="en-US" oldref="25">sVar = String(5,&quot;*&quot;)</paragraph>
+ <paragraph role="paragraph" id="par_id3153140" l10n="U" xml-lang="en-US" oldref="26">sExpr = &quot;123457896&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3153144" l10n="U" xml-lang="en-US" oldref="27">RSet sVar = sExpr</paragraph>
+ <paragraph role="paragraph" id="par_id3150116" l10n="U" xml-lang="en-US" oldref="28">Print &quot;&gt;&quot;; sVar; &quot;&lt;&quot;</paragraph>
+
+ <paragraph role="paragraph" id="par_id3154491" l10n="U" xml-lang="en-US" oldref="30">sVar = String(40,&quot;*&quot;)</paragraph>
+ <paragraph role="paragraph" id="par_id3149412" l10n="U" xml-lang="en-US" oldref="31">sExpr = &quot;SBX&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3145801" l10n="U" xml-lang="en-US" oldref="32">REM Left-align &quot;SBX&quot; in a 40-character string</paragraph>
+ <paragraph role="paragraph" id="par_id3145646" l10n="U" xml-lang="en-US" oldref="33">LSet sVar = sExpr</paragraph>
+ <paragraph role="paragraph" id="par_id3154511" l10n="U" xml-lang="en-US" oldref="34">Print &quot;&gt;&quot;; sVar; &quot;&lt;&quot;</paragraph>
+
+ <paragraph role="paragraph" id="par_id3153839" l10n="U" xml-lang="en-US" oldref="36">sVar = String(5,&quot;*&quot;)</paragraph>
+ <paragraph role="paragraph" id="par_id3149122" l10n="U" xml-lang="en-US" oldref="37">sExpr = &quot;123456789&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3150330" l10n="U" xml-lang="en-US" oldref="38">LSet sVar = sExpr</paragraph>
+ <paragraph role="paragraph" id="par_id3154480" l10n="U" xml-lang="en-US" oldref="39">Print &quot;&gt;&quot;; sVar; &quot;&lt;&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3148914" l10n="U" xml-lang="en-US" oldref="40">End Sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03120309.xhp b/helpcontent2/source/text/sbasic/shared/03120309.xhp
new file mode 100755
index 0000000000..ff3fe3020d
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03120309.xhp
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120309xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">RTrim Function [Runtime]</title>
+<filename>/text/sbasic/shared/03120309.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="rtrim">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3154286"><bookmark_value>RTrim;function</bookmark_value></bookmark><paragraph id="hd_id3154286" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03120309.xhp" name="RTrim Function [Runtime]">RTrim Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3153127" l10n="U" xml-lang="en-US" oldref="2">Deletes the spaces at the end of a string expression.</paragraph>
+ </section>
+ <paragraph l10n="U" role="paragraph" id="par_id3153062" xml-lang="en-US" oldref="3">See also: <link href="text/sbasic/shared/03120305.xhp" name="LTrim Function">LTrim Function</link></paragraph>
+ <paragraph role="heading" level="2" id="hd_id3154924" l10n="U" xml-lang="en-US" oldref="4">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3154347" l10n="U" xml-lang="en-US" oldref="5">RTrim (Text As String)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3149457" l10n="U" xml-lang="en-US" oldref="6">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3153381" l10n="U" xml-lang="en-US" oldref="7">String</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3148798" l10n="U" xml-lang="en-US" oldref="8">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3151380" xml-lang="en-US" oldref="9"><emph>Text: </emph>Any string expression.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3151041" l10n="U" xml-lang="en-US" oldref="10">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3148673" l10n="U" xml-lang="en-US" oldref="11">Sub ExampleSpaces</paragraph>
+ <paragraph role="paragraph" id="par_id3156281" l10n="U" xml-lang="en-US" oldref="12">Dim sText2 as String,sText as String,sOut as String</paragraph>
+ <paragraph role="paragraph" id="par_id3154125" l10n="U" xml-lang="en-US" oldref="13">sText2 = &quot; &lt;*Las Vegas*&gt; &quot;</paragraph>
+
+ <paragraph role="paragraph" id="par_id3155131" l10n="U" xml-lang="en-US" oldref="15">sOut = &quot;'&quot;+sText2 +&quot;'&quot;+ Chr(13)</paragraph>
+ <paragraph role="paragraph" id="par_id3161833" l10n="U" xml-lang="en-US" oldref="16">sText = Ltrim(sText2) REM sText = &quot; &lt;*Las Vegas*&gt; &quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3147317" l10n="U" xml-lang="en-US" oldref="17">sOut = sOut + &quot;'&quot;+sText +&quot;'&quot; + Chr(13)</paragraph>
+ <paragraph role="paragraph" id="par_id3151112" l10n="U" xml-lang="en-US" oldref="18">sText = Rtrim(sText2) REM sText = &quot; &lt;*Las Vegas*&gt; &quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3149664" l10n="U" xml-lang="en-US" oldref="19">sOut = sOut +&quot;'&quot;+ sText +&quot;'&quot; + Chr(13)</paragraph>
+ <paragraph role="paragraph" id="par_id3152576" l10n="U" xml-lang="en-US" oldref="20">sText = Trim(sText2) REM sText = &quot; &lt;*Las Vegas*&gt; &quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3153729" l10n="U" xml-lang="en-US" oldref="21">sOut = sOut +&quot;'&quot;+ sText +&quot;'&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3145749" l10n="U" xml-lang="en-US" oldref="22">MsgBox sOut</paragraph>
+ <paragraph role="paragraph" id="par_id3146922" l10n="U" xml-lang="en-US" oldref="23">end sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03120310.xhp b/helpcontent2/source/text/sbasic/shared/03120310.xhp
new file mode 100755
index 0000000000..f9a0170045
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03120310.xhp
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120310xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">UCase Function [Runtime]</title>
+<filename>/text/sbasic/shared/03120310.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="ucase">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3153527"><bookmark_value>UCase;function</bookmark_value></bookmark><paragraph id="hd_id3153527" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03120310.xhp" name="UCase Function [Runtime]">UCase Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3155420" l10n="U" xml-lang="en-US" oldref="2">Converts lowercase characters in a string to uppercase.</paragraph>
+ </section>
+ <paragraph l10n="U" role="paragraph" id="par_id3150771" xml-lang="en-US" oldref="3">See also: <link href="text/sbasic/shared/03120302.xhp" name="LCase Function">LCase Function</link></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3149233" xml-lang="en-US" oldref="4"><emph>Syntax</emph>:</paragraph>
+ <paragraph role="paragraph" id="par_id3153061" l10n="U" xml-lang="en-US" oldref="5">UCase (Text As String)</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3159414" xml-lang="en-US" oldref="6"><emph>Return value</emph>:</paragraph>
+ <paragraph role="paragraph" id="par_id3146795" l10n="U" xml-lang="en-US" oldref="7">String</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3149457" l10n="U" xml-lang="en-US" oldref="8">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3150791" xml-lang="en-US" oldref="9"><emph>Text:</emph> Any string expression that you want to convert.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3154125" l10n="U" xml-lang="en-US" oldref="10">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3147229" l10n="U" xml-lang="en-US" oldref="11">Sub ExampleLUCase</paragraph>
+ <paragraph role="paragraph" id="par_id3151381" l10n="U" xml-lang="en-US" oldref="12">Dim sVar As String</paragraph>
+ <paragraph role="paragraph" id="par_id3153194" l10n="U" xml-lang="en-US" oldref="13">sVar = &quot;Las Vegas&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3149204" l10n="U" xml-lang="en-US" oldref="14">Print LCase(sVar) REM returns &quot;las vegas&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3156280" l10n="U" xml-lang="en-US" oldref="15">Print UCase(sVar) REM returns &quot;LAS VEGAS&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3156422" l10n="U" xml-lang="en-US" oldref="16">end Sub</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03120311.xhp b/helpcontent2/source/text/sbasic/shared/03120311.xhp
new file mode 100755
index 0000000000..f70a542b05
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03120311.xhp
@@ -0,0 +1,99 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120311xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Trim Function [Runtime]</title>
+<filename>/text/sbasic/shared/03120311.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-06-28T09:00:12">converted from old format - fpe
+dedr: fixed #i30791#</lastedited>
+</history>
+</meta>
+<body>
+<section id="trim">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150616"><bookmark_value>Trim;function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3150616" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03120311.xhp" name="Trim Function [Runtime]">Trim Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3149177" xml-lang="en-US" l10n="U" oldref="2">Removes all leading and trailing spaces from a string expression.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3159157" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3155341" xml-lang="en-US" l10n="U" oldref="4">Trim( Text As String )</paragraph>
+<paragraph role="heading" id="hd_id3155388" xml-lang="en-US" level="2" l10n="U" oldref="5">Return value:</paragraph>
+<paragraph role="paragraph" id="par_id3143228" xml-lang="en-US" l10n="U" oldref="6">String</paragraph>
+<paragraph role="heading" id="hd_id3145609" xml-lang="en-US" level="2" l10n="U" oldref="7">Parameters:</paragraph>
+<paragraph role="paragraph" id="par_id3159414" xml-lang="en-US" l10n="U" oldref="8">
+<emph>Text:</emph> Any string expression.</paragraph>
+<embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+<embed href="text/sbasic/shared/00000003.xhp#err5"/>
+<paragraph role="heading" id="hd_id3148663" xml-lang="en-US" level="2" l10n="U" oldref="10">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3150398" xml-lang="en-US" l10n="U" oldref="11">Sub ExampleSpaces</paragraph>
+<paragraph role="paragraph" id="par_id3153525" xml-lang="en-US" l10n="U" oldref="12">Dim sText2 as String,sText as String,sOut as String</paragraph>
+<paragraph role="paragraph" id="par_id3154908" xml-lang="en-US" l10n="U" oldref="13">sText2 = " &lt;*Las Vegas*&gt; "</paragraph>
+<paragraph role="paragraph" id="par_id3144760" xml-lang="en-US" l10n="U" oldref="15">sOut = "'"+sText2 +"'"+ Chr(13)</paragraph>
+<paragraph role="paragraph" id="par_id3151383" xml-lang="en-US" l10n="U" oldref="16">sText = Ltrim(sText2) REM sText = " &lt;*Las Vegas*&gt; "</paragraph>
+<paragraph role="paragraph" id="par_id3151044" xml-lang="en-US" l10n="U" oldref="17">sOut = sOut + "'"+sText +"'" + Chr(13)</paragraph>
+<paragraph role="paragraph" id="par_id3159149" xml-lang="en-US" l10n="U" oldref="18">sText = Rtrim(sText2) REM sText = " &lt;*Las Vegas*&gt; "</paragraph>
+<paragraph role="paragraph" id="par_id3150449" xml-lang="en-US" l10n="U" oldref="19">sOut = sOut +"'"+ sText +"'" + Chr(13)</paragraph>
+<paragraph role="paragraph" id="par_id3149562" xml-lang="en-US" l10n="U" oldref="20">sText = Trim(sText2) REM sText = " &lt;*Las Vegas*&gt; "</paragraph>
+<paragraph role="paragraph" id="par_id3161831" xml-lang="en-US" l10n="U" oldref="21">sOut = sOut +"'"+ sText +"'"</paragraph>
+<paragraph role="paragraph" id="par_id3146120" xml-lang="en-US" l10n="U" oldref="22">MsgBox sOut</paragraph>
+<paragraph role="paragraph" id="par_id3145364" xml-lang="en-US" l10n="U" oldref="23">end sub</paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03120312.xhp b/helpcontent2/source/text/sbasic/shared/03120312.xhp
new file mode 100755
index 0000000000..d48736d929
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03120312.xhp
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120312xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">ConvertToURL Function [Runtime]</title>
+<filename>/text/sbasic/shared/03120312.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="ConvertToURL">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3152801"><bookmark_value>ConvertToURL;function</bookmark_value></bookmark><paragraph id="hd_id3152801" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03120312.xhp" name="ConvertToURL Function [Runtime]">ConvertToURL Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3148538" l10n="U" xml-lang="en-US" oldref="2">Converts a system file name to a file URL.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3150669" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3154285" l10n="U" xml-lang="en-US" oldref="4">ConvertToURL(filename)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3150984" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3147530" l10n="U" xml-lang="en-US" oldref="6">String</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3148550" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3148947" xml-lang="en-US" oldref="8"><emph>Filename:</emph> A file name as string.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3153361" l10n="U" xml-lang="en-US" oldref="9">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3150792" l10n="U" xml-lang="en-US" oldref="10">systemFile$ = &quot;c:\folder\mytext.txt&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3154365" l10n="U" xml-lang="en-US" oldref="11">url$ = ConvertToURL( systemFile$ )</paragraph>
+ <paragraph role="paragraph" id="par_id3151042" l10n="U" xml-lang="en-US" oldref="12">print url$</paragraph>
+ <paragraph role="paragraph" id="par_id3154909" l10n="U" xml-lang="en-US" oldref="13">systemFileAgain$ = ConvertFromURL( url$ )</paragraph>
+ <paragraph role="paragraph" id="par_id3144762" l10n="U" xml-lang="en-US" oldref="14">print systemFileAgain$</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03120313.xhp b/helpcontent2/source/text/sbasic/shared/03120313.xhp
new file mode 100755
index 0000000000..41f50bd7ba
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03120313.xhp
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120313xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">ConvertFromURL Function [Runtime]</title>
+<filename>/text/sbasic/shared/03120313.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="ConvertFromURL">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3153894"><bookmark_value>ConvertFromURL;function</bookmark_value></bookmark><paragraph id="hd_id3153894" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03120313.xhp" name="ConvertFromURL Function [Runtime]">ConvertFromURL Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3147226" l10n="U" xml-lang="en-US" oldref="2">Converts a file URL to a system file name.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3143267" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3154142" l10n="U" xml-lang="en-US" oldref="4">ConvertFromURL(filename)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3159157" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3150669" l10n="U" xml-lang="en-US" oldref="6">String</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3143270" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3156023" xml-lang="en-US" oldref="8"><emph>Filename:</emph> A file name as a string.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3154760" l10n="U" xml-lang="en-US" oldref="9">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3148664" l10n="U" xml-lang="en-US" oldref="10">systemFile$ = &quot;c:\folder\mytext.txt&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3150541" l10n="U" xml-lang="en-US" oldref="11">url$ = ConvertToURL( systemFile$ )</paragraph>
+ <paragraph role="paragraph" id="par_id3150792" l10n="U" xml-lang="en-US" oldref="12">print url$</paragraph>
+ <paragraph role="paragraph" id="par_id3154367" l10n="U" xml-lang="en-US" oldref="13">systemFileAgain$ = ConvertFromURL( url$ )</paragraph>
+ <paragraph role="paragraph" id="par_id3153194" l10n="U" xml-lang="en-US" oldref="14">print systemFileAgain$</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03120314.xhp b/helpcontent2/source/text/sbasic/shared/03120314.xhp
new file mode 100755
index 0000000000..89def868b5
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03120314.xhp
@@ -0,0 +1,120 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120314xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Split Function [Runtime]</title>
+<filename>/text/sbasic/shared/03120314.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="split">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3156027"><bookmark_value>Split;function</bookmark_value></bookmark><paragraph id="hd_id3156027" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03120314.xhp" name="Split Function [Runtime]">Split Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3155805" l10n="U" xml-lang="en-US" oldref="2">Returns an array of substrings from a string expression.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3149177" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3153824" l10n="U" xml-lang="en-US" oldref="4">Split (Text As String, delimiter, number)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3149763" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3154285" l10n="U" xml-lang="en-US" oldref="6">String</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3145315" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3156023" xml-lang="en-US" oldref="8"><emph>Text:</emph> Any string expression.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3147560" xml-lang="en-US" oldref="9"><emph>delimiter (optional):</emph> A string character that is used to delimit the Text. The default is the space character.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3145069" xml-lang="en-US" oldref="12"><emph>number (optional):</emph> The number of substrings that you want to return.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3150398" l10n="U" xml-lang="en-US" oldref="10">Example:</paragraph>
+ <section id="splitjoinex">
+ <paragraph role="paragraph" id="par_id3151212" l10n="U" xml-lang="en-US" oldref="11">Dim a(3)</paragraph>
+ <paragraph role="paragraph" id="par_id3149204" l10n="U" xml-lang="en-US" oldref="13">Sub main()</paragraph>
+ <paragraph role="paragraph" id="par_id3156214" l10n="U" xml-lang="en-US" oldref="14"> a(0) = &quot;ABCDE&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3154217" l10n="U" xml-lang="en-US" oldref="15"> a(1) = 42</paragraph>
+ <paragraph role="paragraph" id="par_id3145173" l10n="U" xml-lang="en-US" oldref="16"> a(2) = &quot;MN&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3153104" l10n="U" xml-lang="en-US" oldref="17"> a(3) = &quot;X Y Z&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3154684" l10n="U" xml-lang="en-US" oldref="18"> JStr = Join1()</paragraph>
+ <paragraph role="paragraph" id="par_id3153367" l10n="U" xml-lang="en-US" oldref="19"> Call Show(JStr, Split1(JStr))</paragraph>
+ <paragraph role="paragraph" id="par_id3145271" l10n="U" xml-lang="en-US" oldref="20"> JStr = Join2()</paragraph>
+ <paragraph role="paragraph" id="par_id3155856" l10n="U" xml-lang="en-US" oldref="21"> Call Show(JStr, Split1(JStr))</paragraph>
+ <paragraph role="paragraph" id="par_id3159155" l10n="U" xml-lang="en-US" oldref="22"> JStr = Join3()</paragraph>
+ <paragraph role="paragraph" id="par_id3155413" l10n="U" xml-lang="en-US" oldref="23"> Call Show(JStr, Split1(JStr))</paragraph>
+ <paragraph role="paragraph" id="par_id3153190" l10n="U" xml-lang="en-US" oldref="24">End Sub</paragraph>
+ <paragraph role="paragraph" id="par_id3154320" l10n="U" xml-lang="en-US" oldref="25">Function Join1()</paragraph>
+ <paragraph role="paragraph" id="par_id3145748" l10n="U" xml-lang="en-US" oldref="26"> Join1 = Join(a(), &quot;abc&quot;)</paragraph>
+ <paragraph role="paragraph" id="par_id3153142" l10n="U" xml-lang="en-US" oldref="45">End Function</paragraph>
+ <paragraph role="paragraph" id="par_id3152462" l10n="U" xml-lang="en-US" oldref="27">Function Join2()</paragraph>
+ <paragraph role="paragraph" id="par_id3146119" l10n="U" xml-lang="en-US" oldref="28"> Join2 = Join(a(), &quot;,&quot;)</paragraph>
+ <paragraph role="paragraph" id="par_id3154790" l10n="U" xml-lang="en-US" oldref="29">End Function</paragraph>
+ <paragraph role="paragraph" id="par_id3147125" l10n="U" xml-lang="en-US" oldref="30">Function Join3()</paragraph>
+ <paragraph role="paragraph" id="par_id3149377" l10n="U" xml-lang="en-US" oldref="31"> Join3 = Join(a())</paragraph>
+ <paragraph role="paragraph" id="par_id3150114" l10n="U" xml-lang="en-US" oldref="32">End Function</paragraph>
+ <paragraph role="paragraph" id="par_id3154729" l10n="U" xml-lang="en-US" oldref="33">Function Split1(aStr)</paragraph>
+ <paragraph role="paragraph" id="par_id3145646" l10n="U" xml-lang="en-US" oldref="34"> Split1 = Split(aStr, &quot;D&quot;)</paragraph>
+ <paragraph role="paragraph" id="par_id3154512" l10n="U" xml-lang="en-US" oldref="35">End Function</paragraph>
+ <paragraph role="paragraph" id="par_id3149400" l10n="U" xml-lang="en-US" oldref="36">Sub Show(JoinStr, TheArray)</paragraph>
+ <paragraph role="paragraph" id="par_id3153948" l10n="U" xml-lang="en-US" oldref="37"> l = LBound(TheArray)</paragraph>
+ <paragraph role="paragraph" id="par_id3146969" l10n="U" xml-lang="en-US" oldref="38"> u = UBound(TheArray)</paragraph>
+ <paragraph role="paragraph" id="par_id3150752" l10n="U" xml-lang="en-US" oldref="39"> total$ = &quot;=============================&quot; + Chr$(13) + JoinStr + Chr$(13) + Chr$(13)</paragraph>
+ <paragraph role="paragraph" id="par_id3148916" l10n="U" xml-lang="en-US" oldref="40"> For i = l To u</paragraph>
+ <paragraph role="paragraph" id="par_id3154754" l10n="U" xml-lang="en-US" oldref="41"> total$ = total$ + TheArray(i) + Str(Len(TheArray(i))) + Chr$(13)</paragraph>
+ <paragraph role="paragraph" id="par_id3156054" l10n="U" xml-lang="en-US" oldref="42"> Next i</paragraph>
+ <paragraph role="paragraph" id="par_id3147338" l10n="U" xml-lang="en-US" oldref="43"> MsgBox total$</paragraph>
+
+ <paragraph role="paragraph" id="par_id3155960" l10n="U" xml-lang="en-US" oldref="44">End Sub</paragraph>
+ </section>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03120315.xhp b/helpcontent2/source/text/sbasic/shared/03120315.xhp
new file mode 100755
index 0000000000..753544fda8
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03120315.xhp
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120315xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Join Function [Runtime]</title>
+<filename>/text/sbasic/shared/03120315.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="join">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3149416"><bookmark_value>Join;function</bookmark_value></bookmark><paragraph id="hd_id3149416" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03120315.xhp" name="Join Function [Runtime]">Join Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3149670" l10n="U" xml-lang="en-US" oldref="2">Returns a string from a number of substrings in a string array.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3159414" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3156344" l10n="U" xml-lang="en-US" oldref="4">Join (Text As String Array, delimiter)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3150400" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3150359" l10n="U" xml-lang="en-US" oldref="6">String</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3148798" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3145171" xml-lang="en-US" oldref="8"><emph>Text:</emph> A string array.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3154908" xml-lang="en-US" oldref="9"><emph>delimiter (optional):</emph> A string character that is used to separate the substrings in the resulting string. The default delimiter is the space character. If delimiter is a string of length zero &quot;&quot;, the substrings are joined without separator.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3154218" l10n="U" xml-lang="en-US" oldref="10">Example:</paragraph>
+ <embed href="text/sbasic/shared/03120314.xhp#splitjoinex"/>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03120400.xhp b/helpcontent2/source/text/sbasic/shared/03120400.xhp
new file mode 100755
index 0000000000..eadd0e44a5
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03120400.xhp
@@ -0,0 +1,77 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120400xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Editing String Length</title>
+<filename>/text/sbasic/shared/03120400.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="ermitteln">
+ <paragraph id="hd_id3155150" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03120400.xhp" name="Editing String Length">Editing String Length</link></paragraph>
+ <paragraph role="paragraph" id="par_id3159201" l10n="U" xml-lang="en-US" oldref="2">The following functions determine string lengths and compare strings.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/03120401.xhp#instr"/>
+ <embed href="text/sbasic/shared/03120402.xhp#len"/>
+ <embed href="text/sbasic/shared/03120403.xhp#strcomp"/>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03120401.xhp b/helpcontent2/source/text/sbasic/shared/03120401.xhp
new file mode 100755
index 0000000000..8e44562cd0
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03120401.xhp
@@ -0,0 +1,97 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120401xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">InStr Function [Runtime]</title>
+<filename>/text/sbasic/shared/03120401.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="instr">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3155934"><bookmark_value>InStr;function</bookmark_value></bookmark><paragraph id="hd_id3155934" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03120401.xhp" name="InStr Function [Runtime]">InStr Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3153990" l10n="U" xml-lang="en-US" oldref="2">Returns the position of a string within another string.</paragraph>
+ </section>
+ <paragraph role="paragraph" id="par_id3147303" l10n="U" xml-lang="en-US" oldref="3">The Instr function returns the position at which the match was found. If the string was not found, the function returns 0.</paragraph>
+ <paragraph role="heading" level="1" id="hd_id3145090" l10n="U" xml-lang="en-US" oldref="4">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3146957" l10n="U" xml-lang="en-US" oldref="5">InStr ([Start As Integer,] Text1 As String, Text2 As String[, Compare])</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3148538" l10n="U" xml-lang="en-US" oldref="6">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3149763" l10n="U" xml-lang="en-US" oldref="7">Integer</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3148473" l10n="U" xml-lang="en-US" oldref="8">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3153126" xml-lang="en-US" oldref="9"><emph>Start: </emph>Any numeric expression that marks the position in a string at which to start searching for the specified substring. If this parameter is omitted, the search starts at the first character.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3145609" xml-lang="en-US" oldref="10"><emph>Text1:</emph> The string expression that you want to search.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3147559" xml-lang="en-US" oldref="11"><emph>Text2:</emph> The string expression that you want to search for.</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3154758" xml-lang="en-US" oldref="12"><emph>Compare:</emph> Optional numeric expression that defines the type of comparison. This parameter can be 0 or 1. The default value 0 specifies a binary comparison; 1 specifies a text comparison (not case-sensitive).</paragraph>
+ <paragraph role="paragraph" id="par_id3153361" l10n="U" xml-lang="en-US" oldref="13">To avoid a run-time error, do not set the Compare parameter if the first return parameter is omitted.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3154366" l10n="U" xml-lang="en-US" oldref="14">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3154217" l10n="U" xml-lang="en-US" oldref="15">Sub ExamplePosition</paragraph>
+ <paragraph role="paragraph" id="par_id3154685" l10n="U" xml-lang="en-US" oldref="16">Dim sInput As String</paragraph>
+ <paragraph role="paragraph" id="par_id3151042" l10n="U" xml-lang="en-US" oldref="17">Dim iPos as Integer</paragraph>
+
+ <paragraph role="paragraph" id="par_id3144760" l10n="U" xml-lang="en-US" oldref="19">sInput = &quot;Star Office&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3154125" l10n="U" xml-lang="en-US" oldref="20">iPos = Instr(sInput,&quot;v&quot;)</paragraph>
+ <paragraph role="paragraph" id="par_id3145173" l10n="U" xml-lang="en-US" oldref="21">print iPos</paragraph>
+ <paragraph role="paragraph" id="par_id3145786" l10n="U" xml-lang="en-US" oldref="22">end sub</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03120402.xhp b/helpcontent2/source/text/sbasic/shared/03120402.xhp
new file mode 100755
index 0000000000..762cb9896c
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03120402.xhp
@@ -0,0 +1,88 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120402xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Len Function [Runtime]</title>
+<filename>/text/sbasic/shared/03120402.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="len">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3154136"><bookmark_value>Len;function</bookmark_value></bookmark><paragraph id="hd_id3154136" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03120402.xhp" name="Len Function [Runtime]">Len Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3147576" l10n="U" xml-lang="en-US" oldref="2">Returns the number of characters in a string, or the number of bytes that are required to store a variable.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3159177" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3150669" l10n="U" xml-lang="en-US" oldref="4">Len (Text As String)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3148473" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3143270" l10n="U" xml-lang="en-US" oldref="6">Long</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3147531" l10n="U" xml-lang="en-US" oldref="7">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3147265" xml-lang="en-US" oldref="8"><emph>Text:</emph> Any string expression or a variable of another type.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3153360" l10n="U" xml-lang="en-US" oldref="9">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3150792" l10n="U" xml-lang="en-US" oldref="10">Sub ExampleLen</paragraph>
+ <paragraph role="paragraph" id="par_id3151211" l10n="U" xml-lang="en-US" oldref="11">Dim sText as String</paragraph>
+ <paragraph role="paragraph" id="par_id3154125" l10n="U" xml-lang="en-US" oldref="12">sText = &quot;Las Vegas&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3156214" l10n="U" xml-lang="en-US" oldref="13">MsgBox Len(sText) REM Returns 9</paragraph>
+ <paragraph role="paragraph" id="par_id3125864" l10n="U" xml-lang="en-US" oldref="14">End Sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03120403.xhp b/helpcontent2/source/text/sbasic/shared/03120403.xhp
new file mode 100755
index 0000000000..fbc77c5c7d
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03120403.xhp
@@ -0,0 +1,104 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03120403xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">StrComp Function [Runtime]</title>
+<filename>/text/sbasic/shared/03120403.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="strcomp">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3156027"><bookmark_value>StrComp</bookmark_value></bookmark><paragraph id="hd_id3156027" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03120403.xhp" name="StrComp Function [Runtime]">StrComp Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3155805" l10n="U" xml-lang="en-US" oldref="2">Compares two strings and returns an integer value that represents the result of the comparison.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3153345" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3150503" l10n="U" xml-lang="en-US" oldref="4">StrComp (Text1 As String, Text2 As String[, Compare])</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3147574" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3156152" l10n="U" xml-lang="en-US" oldref="6">Integer</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3150984" l10n="U" xml-lang="en-US" oldref="7">Parameter:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3153061" xml-lang="en-US" oldref="8"><emph>Text1:</emph> Any string expression</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3147560" xml-lang="en-US" oldref="9"><emph>Text2:</emph> Any string expression</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3146796" xml-lang="en-US" oldref="10"><emph>Compare:</emph> This optional parameter sets the comparison method. If Compare = 1, the string comparison is case-sensitive. If Compare = 0, no distinction is made between uppercase and lowercase letters.</paragraph>
+ <paragraph role="heading" level="3" id="hd_id3154940" l10n="U" xml-lang="en-US" oldref="13">Return value</paragraph>
+ <list type="unordered">
+ <listitem>
+ <paragraph role="listitem" id="par_id3150358" l10n="U" xml-lang="en-US" oldref="27">If Text1 &lt; Text2 the function returns -1</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph role="listitem" id="par_id3151043" l10n="U" xml-lang="en-US" oldref="28">If Text1 = Text2 the function returns 0</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph role="listitem" id="par_id3158410" l10n="U" xml-lang="en-US" oldref="29">If Text1 &gt; Text2 the function returns 1</paragraph>
+ </listitem>
+ </list>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3153968" l10n="U" xml-lang="en-US" oldref="18">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3151381" l10n="U" xml-lang="en-US" oldref="19">Sub ExampleStrComp</paragraph>
+ <paragraph role="paragraph" id="par_id3154685" l10n="U" xml-lang="en-US" oldref="20">Dim iVar As Single</paragraph>
+ <paragraph role="paragraph" id="par_id3148453" l10n="U" xml-lang="en-US" oldref="21">Dim sVar As String</paragraph>
+ <paragraph role="paragraph" id="par_id3153369" l10n="U" xml-lang="en-US" oldref="22">iVar = 123.123</paragraph>
+ <paragraph role="paragraph" id="par_id3145786" l10n="U" xml-lang="en-US" oldref="23">sVar = Str$(iVar)</paragraph>
+ <paragraph role="paragraph" id="par_id3146975" l10n="U" xml-lang="en-US" oldref="24">Msgbox strcomp(sVar , Str$(iVar),1)</paragraph>
+ <paragraph role="paragraph" id="par_id3150487" l10n="U" xml-lang="en-US" oldref="25">end sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03130000.xhp b/helpcontent2/source/text/sbasic/shared/03130000.xhp
new file mode 100755
index 0000000000..1133920949
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03130000.xhp
@@ -0,0 +1,91 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03130000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Other Commands</title>
+<filename>/text/sbasic/shared/03130000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="sonstige">
+ <paragraph id="hd_id3156027" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03130000.xhp" name="Other Commands">Other Commands</link></paragraph>
+ <paragraph role="paragraph" id="par_id3153312" l10n="U" xml-lang="en-US" oldref="2">This is a list of the functions and the statements that are not included in the other categories.</paragraph>
+ </section>
+ <embed href="text/sbasic/shared/03130100.xhp#beep"/>
+ <embed href="text/sbasic/shared/03130500.xhp#shell"/>
+ <embed href="text/sbasic/shared/03130600.xhp#wait"/>
+ <embed href="text/sbasic/shared/03130700.xhp#getsystemticks"/>
+ <embed href="text/sbasic/shared/03130800.xhp#environ"/>
+ <embed href="text/sbasic/shared/03131000.xhp#getsolarversion"/>
+ <embed href="text/sbasic/shared/03132100.xhp#getguitype"/>
+ <embed href="text/sbasic/shared/03131300.xhp#twipsperpixelx"/>
+ <embed href="text/sbasic/shared/03131400.xhp#twipsperpixely"/>
+ <embed href="text/sbasic/shared/03131500.xhp#createunostruct"/>
+ <embed href="text/sbasic/shared/03131600.xhp#createunoservice"/>
+ <embed href="text/sbasic/shared/03131700.xhp#getprocessservicemanager"/>
+ <embed href="text/sbasic/shared/03131800.xhp#createunodialog"/>
+ <embed href="text/sbasic/shared/03132000.xhp#createunolistener"/>
+ <embed href="text/sbasic/shared/03132300.xhp#createunovalue"/>
+ <embed href="text/sbasic/shared/03132200.xhp#thiscomponent"/>
+ <embed href="text/sbasic/shared/03131900.xhp#globalscope"/>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03130100.xhp b/helpcontent2/source/text/sbasic/shared/03130100.xhp
new file mode 100755
index 0000000000..8343e043af
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03130100.xhp
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03130100xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Beep Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03130100.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="beep">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3143284"><bookmark_value>Beep;statement</bookmark_value></bookmark><paragraph id="hd_id3143284" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03130100.xhp" name="Beep Statement [Runtime]">Beep Statement [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3159201" l10n="U" xml-lang="en-US" oldref="2">Plays a tone through the computer's speaker. The tone is system-dependent and you cannot modify its volume or pitch.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3153990" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3147291" l10n="U" xml-lang="en-US" oldref="4">Beep</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3148538" l10n="U" xml-lang="en-US" oldref="5">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3149762" l10n="U" xml-lang="en-US" oldref="6">Sub ExampleBeep</paragraph>
+ <paragraph role="paragraph" id="par_id3154285" l10n="U" xml-lang="en-US" oldref="7">beep</paragraph>
+ <paragraph role="paragraph" id="par_id3143270" l10n="U" xml-lang="en-US" oldref="8">beep</paragraph>
+ <paragraph role="paragraph" id="par_id3154142" l10n="U" xml-lang="en-US" oldref="9">beep</paragraph>
+ <paragraph role="paragraph" id="par_id3148943" l10n="U" xml-lang="en-US" oldref="10">end sub</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03130500.xhp b/helpcontent2/source/text/sbasic/shared/03130500.xhp
new file mode 100755
index 0000000000..940ca94a18
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03130500.xhp
@@ -0,0 +1,155 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03130500xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Shell Function [Runtime]</title>
+<filename>/text/sbasic/shared/03130500.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="shell">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3150040"><bookmark_value>Shell;function</bookmark_value></bookmark><paragraph id="hd_id3150040" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03130500.xhp" name="Shell Function [Runtime]">Shell Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3153394" l10n="U" xml-lang="en-US" oldref="2">Starts another application and defines the respective window style, if necessary.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3153345" l10n="U" xml-lang="en-US" oldref="4">Syntax</paragraph>
+ <bookmark xml-lang="en-US" branch="index" id="bm_id2816098"><bookmark_value>Shell</bookmark_value></bookmark><paragraph role="paragraph" id="par_id3147576" l10n="U" xml-lang="en-US" oldref="5">Shell (Pathname As String[, Windowstyle As Integer][, Param As String][, bSync]) </paragraph>
+ <paragraph role="heading" level="2" id="hd_id3149235" l10n="U" xml-lang="en-US" oldref="6">Parameter</paragraph>
+ <paragraph role="heading" level="3" id="hd_id3154306" l10n="U" xml-lang="en-US" oldref="23">Pathname</paragraph>
+ <paragraph role="paragraph" id="par_id3155419" l10n="U" xml-lang="en-US" oldref="7">Complete path and program name of the program that you want to start.</paragraph>
+ <paragraph role="heading" level="3" id="hd_id3150771" l10n="U" xml-lang="en-US" oldref="24">Windowstyle</paragraph>
+ <paragraph role="paragraph" id="par_id3145609" l10n="U" xml-lang="en-US" oldref="8">Optional integer expression that specifies the style of the window that the program is executed in. The following values are possible:</paragraph>
+ <table id="tbl_id3156343">
+
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3148663" l10n="U" xml-lang="en-US" oldref="25">0</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3153360" l10n="U" xml-lang="en-US" oldref="10">The focus is on the hidden program window.</paragraph>
+ </tablecell>
+ </tablerow>
+
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3154123" l10n="U" xml-lang="en-US" oldref="26">1</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3144760" l10n="U" xml-lang="en-US" oldref="11">The focus is on the program window in standard size.</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3156422" l10n="U" xml-lang="en-US" oldref="27">2</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3148451" l10n="U" xml-lang="en-US" oldref="12">The focus is on the minimized program window.</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3149561" l10n="U" xml-lang="en-US" oldref="28">3</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3146921" l10n="U" xml-lang="en-US" oldref="13">focus is on the maximized program window.</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3149481" l10n="U" xml-lang="en-US" oldref="29">4</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3155854" l10n="U" xml-lang="en-US" oldref="14">Standard size program window, without focus.</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3145271" l10n="U" xml-lang="en-US" oldref="30">6</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3152938" l10n="U" xml-lang="en-US" oldref="15">Minimized program window, focus remains on the active window.</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3146119" l10n="U" xml-lang="en-US" oldref="31">10</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3151112" l10n="U" xml-lang="en-US" oldref="16">Full-screen display.</paragraph>
+ </tablecell>
+ </tablerow>
+ </table>
+ <paragraph role="heading" level="3" id="hd_id3150419" l10n="U" xml-lang="en-US" oldref="33">Param</paragraph>
+ <paragraph role="paragraph" id="par_id3149412" l10n="U" xml-lang="en-US" oldref="17">Any string expression that specifies the command line that want to pass.</paragraph>
+ <paragraph role="heading" level="3" id="hd_id3148456" l10n="U" xml-lang="en-US" oldref="32">bSync</paragraph>
+ <paragraph xml-lang="en-US" oldref="18" id="par_id3154096" l10n="U" role="paragraph">If this value is set to <emph>true</emph>, the <emph>Shell</emph> command and all $[officename] tasks wait until the shell process completes. If the value is set to <emph>false</emph>, the shell returns directly. The default value is <emph>false</emph>.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err53"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err73"/>
+ <paragraph role="heading" level="2" id="hd_id3154270" l10n="U" xml-lang="en-US" oldref="19">Example</paragraph>
+ <paragraph role="paragraph" id="par_id3153948" l10n="U" xml-lang="en-US" oldref="20">Sub ExampleShellForWin</paragraph>
+ <paragraph role="paragraph" id="par_id3154479" l10n="U" xml-lang="en-US" oldref="21"> Shell(&quot;c:\windows\calc.exe&quot;,2)</paragraph>
+ <paragraph role="paragraph" id="par_id3153709" l10n="U" xml-lang="en-US" oldref="22">end sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03130600.xhp b/helpcontent2/source/text/sbasic/shared/03130600.xhp
new file mode 100755
index 0000000000..373cbca211
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03130600.xhp
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03130600xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Wait Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03130600.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="wait">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3154136"><bookmark_value>Wait;statement</bookmark_value></bookmark><paragraph id="hd_id3154136" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03130600.xhp" name="Wait Statement [Runtime]">Wait Statement [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3149236" l10n="U" xml-lang="en-US" oldref="2">Interrupts the program execution for the amount of time that you specify in milliseconds.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3143229" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3150669" l10n="U" xml-lang="en-US" oldref="4">Wait millisec</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3148943" l10n="U" xml-lang="en-US" oldref="5">Parameters:</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3154924" xml-lang="en-US" oldref="6"><emph>millisec:</emph> Numeric expression that contains the amount of time (in milliseconds) to wait before the program is executed.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3150541" l10n="U" xml-lang="en-US" oldref="7">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3154138" l10n="U" xml-lang="en-US" oldref="8">Sub ExampleWait</paragraph>
+ <paragraph role="paragraph" id="par_id3154367" l10n="U" xml-lang="en-US" oldref="9">Dim lTick As Long</paragraph>
+ <paragraph role="paragraph" id="par_id3154909" l10n="U" xml-lang="en-US" oldref="10">lTick = GetSystemTicks()</paragraph>
+ <paragraph role="paragraph" id="par_id3151042" l10n="U" xml-lang="en-US" oldref="11">wait 2000</paragraph>
+ <paragraph role="paragraph" id="par_id3154217" l10n="U" xml-lang="en-US" oldref="12">lTick = (GetSystemTicks() - lTick)</paragraph>
+ <paragraph role="paragraph" id="par_id3156214" l10n="U" xml-lang="en-US" oldref="13">MsgBox &quot;&quot; &amp; lTick &amp; &quot; Ticks&quot; ,0,&quot;The pause lasted&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3148922" l10n="U" xml-lang="en-US" oldref="14">End Sub</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03130700.xhp b/helpcontent2/source/text/sbasic/shared/03130700.xhp
new file mode 100755
index 0000000000..959317955e
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03130700.xhp
@@ -0,0 +1,89 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03130700xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">GetSystemTicks Function [Runtime]</title>
+<filename>/text/sbasic/shared/03130700.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="getsystemticks">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3147143"><bookmark_value>GetSystemTicks;function</bookmark_value></bookmark><paragraph id="hd_id3147143" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03130700.xhp" name="GetSystemTicks Function [Runtime]">GetSystemTicks Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3153750" l10n="U" xml-lang="en-US" oldref="2">Returns the number of system ticks provided by the operating system. You can use this function to optimize certain processes.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3153311" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3147242" l10n="U" xml-lang="en-US" oldref="4">GetSystemTicks()</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3149233" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3149762" l10n="U" xml-lang="en-US" oldref="6">Long</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3156152" l10n="U" xml-lang="en-US" oldref="7">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3148943" l10n="U" xml-lang="en-US" oldref="8">Sub ExampleWait</paragraph>
+ <paragraph role="paragraph" id="par_id3146795" l10n="U" xml-lang="en-US" oldref="9">Dim lTick As Long</paragraph>
+ <paragraph role="paragraph" id="par_id3145069" l10n="U" xml-lang="en-US" oldref="10">lTick = GetSystemTicks()</paragraph>
+ <paragraph role="paragraph" id="par_id3147560" l10n="U" xml-lang="en-US" oldref="11">wait 2000</paragraph>
+ <paragraph role="paragraph" id="par_id3149655" l10n="U" xml-lang="en-US" oldref="12">lTick = (GetSystemTicks() - lTick)</paragraph>
+ <paragraph role="paragraph" id="par_id3154938" l10n="U" xml-lang="en-US" oldref="13">MsgBox &quot;&quot; &amp; lTick &amp; &quot; Ticks&quot; ,0,&quot;The pause lasted&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3150542" l10n="U" xml-lang="en-US" oldref="14">End Sub</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03130800.xhp b/helpcontent2/source/text/sbasic/shared/03130800.xhp
new file mode 100755
index 0000000000..1ccb9d833c
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03130800.xhp
@@ -0,0 +1,90 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03130800xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Environ Function [Runtime]</title>
+<filename>/text/sbasic/shared/03130800.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="environ">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3155364"><bookmark_value>Environ;function</bookmark_value></bookmark><paragraph id="hd_id3155364" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03130800.xhp" name="Environ Function [Runtime]">Environ Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3145090" l10n="U" xml-lang="en-US" oldref="2">Returns the value of an environment variable as a string. Environment variables are dependent on the type of operating system that you have.</paragraph>
+ </section>
+ <paragraph l10n="U" role="paragraph" id="par_id3153681" xml-lang="en-US" oldref="3"><switchinline select="sys"> <caseinline select="MAC">On an Apple computer, the function returns an empty string</caseinline> <defaultinline/> </switchinline>.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3150670" l10n="U" xml-lang="en-US" oldref="4">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3159176" l10n="U" xml-lang="en-US" oldref="5">Environ (Environment As String)</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3159157" l10n="U" xml-lang="en-US" oldref="6">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3148473" l10n="U" xml-lang="en-US" oldref="7">String</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3145609" l10n="U" xml-lang="en-US" oldref="8">Parameters:</paragraph>
+ <paragraph role="paragraph" id="par_id3159414" l10n="U" xml-lang="en-US" oldref="9">Environment: Environment variable that you want to return the value for.</paragraph>
+ <embed href="text/sbasic/shared/00000003.xhp#errorcode"/>
+ <embed href="text/sbasic/shared/00000003.xhp#err5"/>
+ <paragraph role="heading" level="2" id="hd_id3148663" l10n="U" xml-lang="en-US" oldref="10">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3149655" l10n="U" xml-lang="en-US" oldref="11">Sub ExampleEnviron</paragraph>
+ <paragraph role="paragraph" id="par_id3154940" l10n="U" xml-lang="en-US" oldref="12">Dim sTemp As String</paragraph>
+ <paragraph role="paragraph" id="par_id3148920" l10n="U" xml-lang="en-US" oldref="13">sTemp=Environ (&quot;TEMP&quot;)</paragraph>
+ <paragraph role="paragraph" id="par_id3150869" l10n="U" xml-lang="en-US" oldref="14">If sTemp = &quot;&quot; Then sTemp=Environ(&quot;TMP&quot;)</paragraph>
+ <paragraph role="paragraph" id="par_id3145419" l10n="U" xml-lang="en-US" oldref="15">MsgBox &quot;'&quot; &amp; sTemp &amp; &quot;'&quot; ,64,&quot;Directory of temporary files:&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3154124" l10n="U" xml-lang="en-US" oldref="16">End Sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03131000.xhp b/helpcontent2/source/text/sbasic/shared/03131000.xhp
new file mode 100755
index 0000000000..738c4834a3
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03131000.xhp
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03131000xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">GetSolarVersion Function [Runtime]</title>
+<filename>/text/sbasic/shared/03131000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="getsolarversion">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3157898"><bookmark_value>GetSolarVersion;function</bookmark_value></bookmark><paragraph id="hd_id3157898" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03131000.xhp" name="GetSolarVersion Function [Runtime]">GetSolarVersion Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3152801" l10n="U" xml-lang="en-US" oldref="2">Returns the internal number of the current $[officename] version.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3153311" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3155388" l10n="U" xml-lang="en-US" oldref="4">s = GetSolarVersion</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3149514" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3148685" l10n="U" xml-lang="en-US" oldref="6">String</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3143270" l10n="U" xml-lang="en-US" oldref="7">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3148473" l10n="U" xml-lang="en-US" oldref="8">Sub ExampleGetSolarVersion</paragraph>
+ <paragraph role="paragraph" id="par_id3156024" l10n="U" xml-lang="en-US" oldref="9">Dim sSep As String</paragraph>
+ <paragraph role="paragraph" id="par_id3159414" l10n="U" xml-lang="en-US" oldref="10">sSep = GetSolarVersion</paragraph>
+ <paragraph role="paragraph" id="par_id3148947" l10n="U" xml-lang="en-US" oldref="11">MsgBox sSep,64,&quot;Version number of the solar technology&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3156344" l10n="U" xml-lang="en-US" oldref="12">End Sub</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03131300.xhp b/helpcontent2/source/text/sbasic/shared/03131300.xhp
new file mode 100755
index 0000000000..b2b1c29c28
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03131300.xhp
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03131300xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">TwipsPerPixelX Function [Runtime]</title>
+<filename>/text/sbasic/shared/03131300.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="twipsperpixelx">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3153539"><bookmark_value>TwipsPerPixelX;function</bookmark_value></bookmark><paragraph id="hd_id3153539" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03131300.xhp" name="TwipsPerPixelX Function [Runtime]">TwipsPerPixelX Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3153394" l10n="U" xml-lang="en-US" oldref="2">Returns the number of twips that represent the width of a pixel.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3153527" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <bookmark xml-lang="en-US" branch="index" id="bm_id2810442"><bookmark_value>TwipsPerPixelX</bookmark_value></bookmark><paragraph role="paragraph" id="par_id3151110" l10n="U" xml-lang="en-US" oldref="4">n = TwipsPerPixelX</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3150669" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3150503" l10n="U" xml-lang="en-US" oldref="6">Integer</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3159176" l10n="U" xml-lang="en-US" oldref="7">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3156152" l10n="U" xml-lang="en-US" oldref="8">Sub ExamplePixelTwips</paragraph>
+ <paragraph role="paragraph" id="par_id3153061" l10n="U" xml-lang="en-US" oldref="9">MsgBox &quot;&quot; &amp; TwipsPerPixelX() &amp; &quot; Twips * &quot; &amp; TwipsPerPixelY() &amp; &quot; Twips&quot;,0,&quot;Pixel size&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3149670" l10n="U" xml-lang="en-US" oldref="10">End Sub</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03131400.xhp b/helpcontent2/source/text/sbasic/shared/03131400.xhp
new file mode 100755
index 0000000000..0015541a22
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03131400.xhp
@@ -0,0 +1,83 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03131400xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">TwipsPerPixelY Function [Runtime]</title>
+<filename>/text/sbasic/shared/03131400.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="twipsperpixely">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3150040"><bookmark_value>TwipsPerPixelY;function</bookmark_value></bookmark><paragraph id="hd_id3150040" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03131400.xhp" name="TwipsPerPixelY Function [Runtime]">TwipsPerPixelY Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3154186" l10n="U" xml-lang="en-US" oldref="2">Returns the number of twips that represent the height of a pixel.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3145090" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3153681" l10n="U" xml-lang="en-US" oldref="4">n = TwipsPerPixelY</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3148473" l10n="U" xml-lang="en-US" oldref="5">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3154306" l10n="U" xml-lang="en-US" oldref="6">Integer</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3149235" l10n="U" xml-lang="en-US" oldref="7">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3150503" l10n="U" xml-lang="en-US" oldref="8">Sub ExamplePixelTwips</paragraph>
+ <paragraph role="paragraph" id="par_id3154142" l10n="U" xml-lang="en-US" oldref="9">MsgBox &quot;&quot; &amp; TwipsPerPixelX() &amp; &quot; Twips * &quot; &amp; TwipsPerPixelY() &amp; &quot; Twips&quot;,0,&quot;Pixel size&quot;</paragraph>
+ <paragraph role="paragraph" id="par_id3148944" l10n="U" xml-lang="en-US" oldref="10">End Sub</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03131500.xhp b/helpcontent2/source/text/sbasic/shared/03131500.xhp
new file mode 100755
index 0000000000..071885903f
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03131500.xhp
@@ -0,0 +1,80 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03131500xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">CreateUnoStruct Function [Runtime]</title>
+<filename>/text/sbasic/shared/03131500.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="createunostruct">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3150499"><bookmark_value>CreateUnoStruct;function</bookmark_value></bookmark><paragraph id="hd_id3150499" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03131500.xhp" name="CreateUnoStruct Function [Runtime]">CreateUnoStruct Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3150713" l10n="U" xml-lang="en-US" oldref="2">Creates an instance of a Uno structure type.</paragraph>
+ </section>
+ <paragraph role="paragraph" id="par_id3147226" l10n="U" xml-lang="en-US" oldref="3">Use the following structure for your statement:</paragraph>
+ <paragraph role="paragraph" id="par_id3149177" l10n="U" xml-lang="en-US" oldref="4">Dim oStruct as new com.sun.star.beans.Property</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3156153" l10n="U" xml-lang="en-US" oldref="5">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3155341" l10n="U" xml-lang="en-US" oldref="6">oStruct = CreateUnoStruct( Uno type name )</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3145316" l10n="U" xml-lang="en-US" oldref="7">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3149762" l10n="U" xml-lang="en-US" oldref="8">oStruct = CreateUnoStruct( &quot;com.sun.star.beans.Property&quot; )</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03131600.xhp b/helpcontent2/source/text/sbasic/shared/03131600.xhp
new file mode 100755
index 0000000000..bb838eea42
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03131600.xhp
@@ -0,0 +1,98 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03131600xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">CreateUnoService Function [Runtime]</title>
+<filename>/text/sbasic/shared/03131600.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-07-07T09:22:29">UFI: added example and link, #i27908#
+dedr: reviewed</lastedited>
+</history>
+</meta>
+<body>
+<section id="createunoservice">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3150682"><bookmark_value>CreateUnoService;function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3150682" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/03131600.xhp" name="CreateUnoService Function [Runtime]">CreateUnoService Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3152924" xml-lang="en-US" l10n="U" oldref="2">Instantiates a Uno service with the ProcessServiceManager.</paragraph>
+</section>
+<paragraph role="heading" id="hd_id3152801" xml-lang="en-US" level="2" l10n="U" oldref="3">Syntax:</paragraph>
+<bookmark xml-lang="en-US" branch="index" id="bm_id2808151"><bookmark_value>CreateUnoService</bookmark_value>
+</bookmark>
+<paragraph role="paragraph" id="par_id3153346" xml-lang="en-US" l10n="U" oldref="4">oService = CreateUnoService( Uno service name )</paragraph>
+<paragraph role="paragraph" id="par_idN1060F" xml-lang="en-US" l10n="NEW">For a list of available services, go to: http://api.openoffice.org/docs/common/ref/com/sun/star/module-ix.html</paragraph>
+<paragraph role="heading" id="hd_id3151111" xml-lang="en-US" level="2" l10n="U" oldref="5">Examples:</paragraph>
+<paragraph role="paragraph" id="par_id3154046" xml-lang="en-US" l10n="U" oldref="6">oIntrospection = CreateUnoService( "com.sun.star.beans.Introspection" )</paragraph>
+<bookmark xml-lang="en-US" branch="index" id="bm_id8334604"><bookmark_value>filepicker;API service</bookmark_value>
+</bookmark>
+<paragraph role="paragraph" id="par_idN10625" xml-lang="en-US" l10n="NEW">The following code uses a service to open a file open dialog:</paragraph>
+<paragraph role="code" id="par_idN10628" xml-lang="en-US" l10n="NEW">Sub Main</paragraph>
+<paragraph role="code" id="par_idN1062B" xml-lang="en-US" l10n="NEW">fName = FileOpenDialog ("Please select a file")</paragraph>
+<paragraph role="code" id="par_idN10630" xml-lang="en-US" l10n="NEW">print "file chosen: "+fName</paragraph>
+<paragraph role="code" id="par_idN10635" xml-lang="en-US" l10n="NEW">End Sub</paragraph>
+<paragraph role="code" id="par_idN1063A" xml-lang="en-US" l10n="NEW">function FileOpenDialog(title as String) as String</paragraph>
+<paragraph role="code" id="par_idN1063D" xml-lang="en-US" l10n="NEW">filepicker = createUnoService("com.sun.star.ui.dialogs.FilePicker")</paragraph>
+<paragraph role="code" id="par_idN10642" xml-lang="en-US" l10n="NEW">filepicker.Title = title</paragraph>
+<paragraph role="code" id="par_idN10647" xml-lang="en-US" l10n="NEW">filepicker.execute()</paragraph>
+<paragraph role="code" id="par_idN1064C" xml-lang="en-US" l10n="NEW">files = filepicker.getFiles()</paragraph>
+<paragraph role="code" id="par_idN10651" xml-lang="en-US" l10n="NEW">FileOpenDialog=files(0)</paragraph>
+<paragraph role="code" id="par_idN10656" xml-lang="en-US" l10n="NEW">End function</paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03131700.xhp b/helpcontent2/source/text/sbasic/shared/03131700.xhp
new file mode 100755
index 0000000000..eb468363d6
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03131700.xhp
@@ -0,0 +1,82 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03131700xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">GetProcessServiceManager Function [Runtime]</title>
+<filename>/text/sbasic/shared/03131700.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="getprocessservicemanager">
+ <bookmark branch="index" xml-lang="en-US" id="bm_id3153255"><bookmark_value>GetProcessServiceManager;function</bookmark_value><bookmark_value>ProcessServiceManager;GetProcessServiceManager</bookmark_value></bookmark><paragraph id="hd_id3153255" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03131700.xhp" name="GetProcessServiceManager Function [Runtime]">GetProcessServiceManager Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3156414" l10n="U" xml-lang="en-US" oldref="2">Returns the ProcessServiceManager (central Uno ServiceManager).</paragraph>
+ </section>
+ <paragraph role="paragraph" id="par_id3145136" l10n="U" xml-lang="en-US" oldref="3">This function is required when you want to instantiate a service using CreateInstanceWithArguments.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3153681" l10n="U" xml-lang="en-US" oldref="4">Syntax:</paragraph>
+ <bookmark xml-lang="en-US" branch="index" id="bm_id2822538"><bookmark_value>GetProcessServiceManager</bookmark_value></bookmark><paragraph role="paragraph" id="par_id3151110" l10n="U" xml-lang="en-US" oldref="5">oServiceManager = GetProcessServiceManager()</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3149516" l10n="U" xml-lang="en-US" oldref="6">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3143270" l10n="U" xml-lang="en-US" oldref="7">oServiceManager = GetProcessServiceManager()</paragraph>
+ <paragraph role="paragraph" id="par_id3153825" l10n="U" xml-lang="en-US" oldref="8">oIntrospection = oServiceManager.createInstance(&quot;com.sun.star.beans.Introspection&quot;);</paragraph>
+ <paragraph role="paragraph" id="par_id3148473" l10n="U" xml-lang="en-US" oldref="9">this is the same as the following statement:</paragraph>
+ <paragraph role="paragraph" id="par_id3145609" l10n="U" xml-lang="en-US" oldref="10">oIntrospection = CreateUnoService(&quot;com.sun.star.beans.Introspection&quot;)</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03131800.xhp b/helpcontent2/source/text/sbasic/shared/03131800.xhp
new file mode 100755
index 0000000000..7893496b8b
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03131800.xhp
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03131800xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">CreateUnoDialog Function [Runtime]</title>
+<filename>/text/sbasic/shared/03131800.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="createunodialog">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3150040"><bookmark_value>CreateUnoDialog;function</bookmark_value></bookmark><paragraph id="hd_id3150040" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03131800.xhp" name="CreateUnoDialog Function [Runtime]">CreateUnoDialog Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3154186" l10n="U" xml-lang="en-US" oldref="2">Creates a Basic Uno object that represents a Uno dialog control during Basic runtime.</paragraph>
+ </section>
+ <paragraph role="paragraph" id="par_id3153750" l10n="U" xml-lang="en-US" oldref="3">Dialogs are defined in the dialog libraries. To display a dialog, a &quot;live&quot; dialog must be created from the library.</paragraph>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3153681" l10n="U" oldref="4">See <link href="text/sbasic/guide/sample_code.xhp" name="Examples">Examples</link>.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3154286" l10n="U" xml-lang="en-US" oldref="5">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3159176" l10n="U" xml-lang="en-US" oldref="6">CreateUnoDialog( oDlgDesc )</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3143270" l10n="U" xml-lang="en-US" oldref="7">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3159157" l10n="U" xml-lang="en-US" oldref="8">' Get dialog description from the dialog library</paragraph>
+ <paragraph role="paragraph" id="par_id3149234" l10n="U" xml-lang="en-US" oldref="9">oDlgDesc = DialogLibraries.Standard.Dialog1</paragraph>
+ <paragraph role="paragraph" id="par_id3154923" l10n="U" xml-lang="en-US" oldref="10">' generate &quot;live&quot; dialog</paragraph>
+ <paragraph role="paragraph" id="par_id3149670" l10n="U" xml-lang="en-US" oldref="11">oDlgControl = CreateUnoDialog( oDlgDesc )</paragraph>
+ <paragraph role="paragraph" id="par_id3148550" l10n="U" xml-lang="en-US" oldref="12">' display &quot;live&quot; dialog</paragraph>
+ <paragraph role="paragraph" id="par_id3154072" l10n="U" xml-lang="en-US" oldref="13">oDlgControl.execute</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03131900.xhp b/helpcontent2/source/text/sbasic/shared/03131900.xhp
new file mode 100755
index 0000000000..eb6c821987
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03131900.xhp
@@ -0,0 +1,103 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03131900xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">GlobalScope [Runtime]</title>
+<filename>/text/sbasic/shared/03131900.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="globalscope">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3150682"><bookmark_value>GlobalScope;function</bookmark_value><bookmark_value>library system</bookmark_value><bookmark_value>LibraryContainer</bookmark_value><bookmark_value>BasicLibraries;LibraryContainer</bookmark_value><bookmark_value>DialogLibraries;LibraryContainer</bookmark_value></bookmark><paragraph id="hd_id3150682" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03131900.xhp" name="GlobalScope [Runtime]">GlobalScope [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3153345" l10n="U" xml-lang="en-US" oldref="2">Basic source code and dialogs are organized in a library system.</paragraph>
+ </section>
+ <list type="unordered">
+ <listitem>
+ <paragraph role="listitem" id="par_id3145315" l10n="U" xml-lang="en-US" oldref="3">The LibraryContainer contains libraries</paragraph>
+ </listitem>
+ <listitem>
+ <paragraph role="listitem" id="par_id3149514" l10n="U" xml-lang="en-US" oldref="4">Libraries can contain modules and dialogs</paragraph>
+ </listitem>
+ </list>
+ <paragraph role="heading" level="2" id="hd_id3143271" l10n="U" xml-lang="en-US" oldref="5">In Basic:</paragraph>
+ <list type="unordered">
+ <listitem>
+ <paragraph xml-lang="en-US" role="listitem" id="par_id3153061" l10n="U" oldref="6">The LibraryContainer is called <emph>BasicLibraries</emph>.</paragraph>
+ </listitem>
+ </list>
+ <paragraph role="heading" level="2" id="hd_id3154346" l10n="U" xml-lang="en-US" oldref="7">In dialogs:</paragraph>
+ <list type="unordered">
+ <listitem>
+ <paragraph xml-lang="en-US" role="listitem" id="par_id3148663" l10n="U" oldref="8">The LibraryContainer is called <emph>DialogLibraries</emph>.</paragraph>
+ </listitem>
+ </list>
+ <paragraph xml-lang="en-US" role="paragraph" id="par_id3150543" l10n="U" oldref="9">Both LibraryContainers exist in an application level and within every document. In the document Basic, the document's LibraryContainers are called automatically. If you want to call the global LibraryContainers from within a document, you must use the keyword <emph>GlobalScope</emph>.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3148920" l10n="U" xml-lang="en-US" oldref="10">Syntax:</paragraph>
+ <bookmark xml-lang="en-US" branch="index" id="bm_id2814192"><bookmark_value>GlobalScope</bookmark_value></bookmark><paragraph role="paragraph" id="par_id3149203" l10n="U" xml-lang="en-US" oldref="11">GlobalScope</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3154685" l10n="U" xml-lang="en-US" oldref="12">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3154124" l10n="U" xml-lang="en-US" oldref="13">Example in the document Basic</paragraph>
+ <paragraph role="paragraph" id="par_id3158408" l10n="U" xml-lang="en-US" oldref="14">' calling Dialog1 in the document library Standard</paragraph>
+ <paragraph role="paragraph" id="par_id3125865" l10n="U" xml-lang="en-US" oldref="15">oDlgDesc = DialogLibraries.Standard.Dialog1</paragraph>
+ <paragraph role="paragraph" id="par_id3154910" l10n="U" xml-lang="en-US" oldref="16">' calling Dialog2 in the application library Library1</paragraph>
+ <paragraph role="paragraph" id="par_id3156424" l10n="U" xml-lang="en-US" oldref="17">oDlgDesc = GlobalScope.DialogLibraries.Library1.Dialog2</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03132000.xhp b/helpcontent2/source/text/sbasic/shared/03132000.xhp
new file mode 100644
index 0000000000..209cbaa199
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03132000.xhp
@@ -0,0 +1,155 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03132000xml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">CreateUnoListener Function [Runtime]</title>
+<filename>/text/sbasic/shared/03132000.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-07-05T09:22:26">converted from old format - fpe
+dedr: fixed #i31078#</lastedited>
+</history>
+</meta>
+<body>
+<section id="createunolistener">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3155150"><bookmark_value>CreateUnoListener;function</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3155150" xml-lang="en-US" level="1" l10n="U" oldref="53"><link href="text/sbasic/shared/03132000.xhp" name="CreateUnoListener Function [Runtime]">CreateUnoListener Function [Runtime]</link></paragraph>
+<paragraph role="paragraph" id="par_id3149346" xml-lang="en-US" l10n="U" oldref="52">Creates a Listener instance.</paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3153681" xml-lang="en-US" l10n="U" oldref="51">Many Uno interfaces let you register listeners on a special listener interface. This allows you to listen for specific events and call up the appropriate listener method. The CreateUnoListener function waits for the called listener interface and then passes the interface an object that the interface supports. This object is then passed to the method to register the listener.</paragraph>
+<paragraph role="heading" id="hd_id3148685" xml-lang="en-US" level="2" l10n="U" oldref="50">Syntax:</paragraph>
+<paragraph role="paragraph" id="par_id3143228" xml-lang="en-US" l10n="U" oldref="49">oListener = CreateUnoListener( Prefixname, ListenerInterfaceName )</paragraph>
+<paragraph role="heading" id="hd_id3147574" xml-lang="en-US" level="2" l10n="U" oldref="48">Example:</paragraph>
+<paragraph role="paragraph" id="par_id3154046" xml-lang="en-US" l10n="U" oldref="47">The following example is based on a Basic library object.</paragraph>
+<paragraph role="paragraph" id="par_id3155136" xml-lang="en-US" l10n="U" oldref="46">Dim oListener</paragraph>
+<paragraph role="paragraph" id="par_id3148944" xml-lang="en-US" l10n="U" oldref="45">oListener = CreateUnoListener( "ContListener_","com.sun.star.container.XContainerListener" )</paragraph>
+<paragraph role="paragraph" id="par_id3149294" xml-lang="en-US" l10n="U" oldref="44">The CreateUnoListener method requires two parameters. The first is a prefix and is explained in detail below. The second parameter is the fully qualified name of the Listener interface that you want to use.</paragraph>
+<paragraph role="paragraph" id="par_id3149670" xml-lang="en-US" l10n="U" oldref="43">The Listener must then be added to the Broadcaster Object. This is done by calling the appropriate method for adding a Listener. These methods always follow the pattern "addFooListener", where "Foo" is the Listener Interface Type, without the 'X'. In this example, the addContainerListener method is called to register the XContainerListener:</paragraph>
+<paragraph role="paragraph" id="par_id3154164" xml-lang="en-US" l10n="U" oldref="42">Dim oLib</paragraph>
+<paragraph role="paragraph" id="par_id3154940" xml-lang="en-US" l10n="U" oldref="41">oLib = BasicLibraries.Library1 ' Library1 must exist!</paragraph>
+<paragraph role="paragraph" id="par_id3150359" xml-lang="en-US" l10n="U" oldref="40">oLib.addContainerListener( oListener ) ' Register the listener</paragraph>
+<paragraph role="paragraph" id="par_id3154138" xml-lang="en-US" l10n="U" oldref="39">The Listener is now registered. When an event occurs, the corresponding Listener calls the appropriate method from the com.sun.star.container.XContainerListener Interface.</paragraph>
+<paragraph role="paragraph" id="par_id3148922" xml-lang="en-US" l10n="U" oldref="38">The prefix calls registered Listeners from Basic-subroutines. The Basic run-time system searches for Basic-subroutines or functions that have the name "PrefixListenerMethode" and calls them when found. Otherwise, a run-time error occurs.</paragraph>
+<paragraph role="paragraph" id="par_id3150768" xml-lang="en-US" l10n="U" oldref="37">In this example, the Listener-Interface uses the following methods:</paragraph>
+<list type="unordered">
+<listitem>
+<paragraph role="listitem" id="par_id3151176" xml-lang="en-US" l10n="U" oldref="36">disposing:</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3145173" xml-lang="en-US" l10n="U" oldref="35">Listener base interface (com.sun.star.lang.XEventListener): base interface for all Listener Interfaces</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3156212" xml-lang="en-US" l10n="U" oldref="34">elementInserted:</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3159254" xml-lang="en-US" l10n="U" oldref="33">Method of the com.sun.star.container.XContainerListener interface</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3147287" xml-lang="en-US" l10n="U" oldref="32">elementRemoved:</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3146119" xml-lang="en-US" l10n="U" oldref="31">Method of the com.sun.star.container.XContainerListener interface</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3153951" xml-lang="en-US" l10n="U" oldref="30">elementReplaced:</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3154013" xml-lang="en-US" l10n="U" oldref="29">Method of the com.sun.star.container.XContainerListener interface</paragraph>
+</listitem>
+</list>
+<paragraph role="paragraph" id="par_id3147435" xml-lang="en-US" l10n="U" oldref="28">In this example, the prefix is ContListener_. The following subroutines must therefore be implemented in Basic:</paragraph>
+<list type="unordered">
+<listitem>
+<paragraph role="listitem" id="par_id3155411" xml-lang="en-US" l10n="U" oldref="27">ContListener_disposing</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3146923" xml-lang="en-US" l10n="U" oldref="26">ContListener_elementInserted</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3147318" xml-lang="en-US" l10n="U" oldref="25">ContListener_elementRemoved</paragraph>
+</listitem>
+<listitem>
+<paragraph role="listitem" id="par_id3152578" xml-lang="en-US" l10n="U" oldref="24">ContListener_elementReplaced</paragraph>
+</listitem>
+</list>
+<paragraph role="paragraph" id="par_id3150592" xml-lang="en-US" l10n="U" oldref="23">An event structure type that contains information about an event exists for every Listener type. When a Listener method is called, an instance of this event is passed to the method as a parameter. Basic Listener methods can also call these event objects, so long as the appropriate parameter is passed in the Sub declaration. For example:</paragraph>
+<paragraph role="paragraph" id="par_id3149582" xml-lang="en-US" l10n="U" oldref="22">Sub ContListener_disposing( oEvent )</paragraph>
+<paragraph role="paragraph" id="par_id3153876" xml-lang="en-US" l10n="U" oldref="21">MsgBox "disposing"</paragraph>
+<paragraph role="paragraph" id="par_id3149959" xml-lang="en-US" l10n="U" oldref="20">MsgBox oEvent.Dbg_Properties</paragraph>
+<paragraph role="paragraph" id="par_id3154490" xml-lang="en-US" l10n="U" oldref="19">End Sub</paragraph>
+<paragraph role="paragraph" id="par_id3156285" xml-lang="en-US" l10n="U" oldref="18">Sub ContListener_elementInserted( oEvent )</paragraph>
+<paragraph role="paragraph" id="par_id3154098" xml-lang="en-US" l10n="U" oldref="17">MsgBox "elementInserted"</paragraph>
+<paragraph role="paragraph" id="par_id3155601" xml-lang="en-US" l10n="U" oldref="16">MsgBox oEvent.Dbg_Properties</paragraph>
+<paragraph role="paragraph" id="par_id3153415" xml-lang="en-US" l10n="U" oldref="15">End Sub</paragraph>
+<paragraph role="paragraph" id="par_id3154272" xml-lang="en-US" l10n="U" oldref="14">Sub ContListener_elementRemoved( oEvent )</paragraph>
+<paragraph role="paragraph" id="par_id3153947" xml-lang="en-US" l10n="U" oldref="13">MsgBox "elementRemoved"</paragraph>
+<paragraph role="paragraph" id="par_id3146914" xml-lang="en-US" l10n="U" oldref="12">MsgBox oEvent.Dbg_Properties</paragraph>
+<paragraph role="paragraph" id="par_id3150749" xml-lang="en-US" l10n="U" oldref="11">End Sub</paragraph>
+<paragraph role="paragraph" id="par_id3145642" xml-lang="en-US" l10n="U" oldref="10">Sub ContListener_elementReplaced( oEvent )</paragraph>
+<paragraph role="paragraph" id="par_id3148915" xml-lang="en-US" l10n="U" oldref="9">MsgBox "elementReplaced"</paragraph>
+<paragraph role="paragraph" id="par_id3148995" xml-lang="en-US" l10n="U" oldref="8">MsgBox oEvent.Dbg_Properties</paragraph>
+<paragraph role="paragraph" id="par_id3148407" xml-lang="en-US" l10n="U" oldref="7">End Sub</paragraph>
+<paragraph role="paragraph" id="par_id3156056" xml-lang="en-US" l10n="U" oldref="6">You do not need to include the parameter of an event object if the object is not used:</paragraph>
+<paragraph role="paragraph" id="par_id3150042" xml-lang="en-US" l10n="U" oldref="5">' Minimal implementation of Sub disposing</paragraph>
+<paragraph role="paragraph" id="par_id3151249" xml-lang="en-US" l10n="U" oldref="4">Sub ContListener_disposing</paragraph>
+<paragraph role="paragraph" id="par_id3155333" xml-lang="en-US" l10n="U" oldref="3">End Sub</paragraph>
+<paragraph role="warning" id="par_id3150940" xml-lang="en-US" l10n="U" oldref="2">Listener methods must <emph>always</emph> be implemented to avoid Basic run-time errors.</paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03132100.xhp b/helpcontent2/source/text/sbasic/shared/03132100.xhp
new file mode 100755
index 0000000000..05eb7cd92c
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03132100.xhp
@@ -0,0 +1,87 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03132100xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">GetGuiType Function [Runtime]</title>
+<filename>/text/sbasic/shared/03132100.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="getguitype">
+ <paragraph id="hd_id3155310" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03132100.xhp" name="GetGuiType Function [Runtime]">GetGuiType Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3152459" l10n="U" xml-lang="en-US" oldref="2">Returns a numerical value that specifies the graphical user interface.</paragraph>
+ </section>
+ <paragraph role="paragraph" id="par_id3153323" l10n="U" xml-lang="en-US" oldref="3">This runtime function is only provided for downward compatibility to previous versions. The return value is not defined in client-server environments.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3154894" l10n="U" xml-lang="en-US" oldref="4">Syntax:</paragraph>
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3147143"><bookmark_value>GetGuiType</bookmark_value></bookmark><paragraph role="paragraph" id="par_id3147143" l10n="U" xml-lang="en-US" oldref="5">GetGUIType()</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3149346" l10n="U" xml-lang="en-US" oldref="6">Return value:</paragraph>
+ <paragraph role="paragraph" id="par_id3153748" l10n="U" xml-lang="en-US" oldref="7">Integer</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3149177" l10n="U" xml-lang="en-US" oldref="8">Return values:</paragraph>
+ <paragraph role="paragraph" id="par_id3147242" l10n="U" xml-lang="en-US" oldref="9">1: Windows</paragraph>
+ <paragraph role="paragraph" id="par_id3154046" l10n="U" xml-lang="en-US" oldref="10">3: Mac OS</paragraph>
+ <paragraph role="paragraph" id="par_id3156152" l10n="U" xml-lang="en-US" oldref="11">4: UNIX</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3148685" l10n="U" xml-lang="en-US" oldref="12">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3149233" l10n="U" xml-lang="en-US" oldref="13">Sub ExampleEnvironment</paragraph>
+ <paragraph role="paragraph" id="par_id3145609" l10n="U" xml-lang="en-US" oldref="14">MsgBox GetGUIType</paragraph>
+ <paragraph role="paragraph" id="par_id3145069" l10n="U" xml-lang="en-US" oldref="15">End Sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03132200.xhp b/helpcontent2/source/text/sbasic/shared/03132200.xhp
new file mode 100755
index 0000000000..a6c2737b30
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03132200.xhp
@@ -0,0 +1,85 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03132200xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">ThisComponent Statement [Runtime]</title>
+<filename>/text/sbasic/shared/03132200.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="thiscomponent">
+ <bookmark branch="index" xml-lang="en-US" id="bm_id3155342"><bookmark_value>ThisComponent;statement</bookmark_value><bookmark_value>components;addressing</bookmark_value></bookmark><paragraph id="hd_id3155342" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03132200.xhp" name="ThisComponent Statement [Runtime]">ThisComponent Statement [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3154923" l10n="U" xml-lang="en-US" oldref="2">Addresses the active component so that its properties can be read and set.</paragraph>
+ </section>
+ <paragraph role="heading" level="2" id="hd_id3154346" l10n="U" xml-lang="en-US" oldref="3">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3151056" l10n="U" xml-lang="en-US" oldref="4">ThisComponent</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3154940" l10n="U" xml-lang="en-US" oldref="5">Example:</paragraph>
+ <paragraph role="paragraph" id="par_id3151211" l10n="U" xml-lang="en-US" oldref="6">Sub Main</paragraph>
+ <paragraph role="paragraph" id="par_id3154123" l10n="U" xml-lang="en-US" oldref="7"> REM updates the &quot;Table of Contents&quot; in a text doc</paragraph>
+ <paragraph role="paragraph" id="par_id3151381" l10n="U" xml-lang="en-US" oldref="8"> Dim allindexes, index As Object</paragraph>
+ <paragraph role="paragraph" id="par_id3150769" l10n="U" xml-lang="en-US" oldref="9"> allindexes = ThisComponent.getDocumentIndexes()</paragraph>
+ <paragraph role="paragraph" id="par_id3153194" l10n="U" xml-lang="en-US" oldref="10"> index = allindexes.getByName(&quot;Table of Contents1&quot;)</paragraph>
+ <paragraph role="paragraph" id="par_id3156422" l10n="U" xml-lang="en-US" oldref="11"> REM use the default name for Table of Contents and a 1</paragraph>
+ <paragraph role="paragraph" id="par_id3153368" l10n="U" xml-lang="en-US" oldref="12"> index.update()</paragraph>
+ <paragraph role="paragraph" id="par_id3161832" l10n="U" xml-lang="en-US" oldref="13">End Sub</paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/03132300.xhp b/helpcontent2/source/text/sbasic/shared/03132300.xhp
new file mode 100644
index 0000000000..3e978c1843
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/03132300.xhp
@@ -0,0 +1,84 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************-->
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared03132300xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">CreateUnoValue Function [Runtime]</title>
+<filename>/text/sbasic/shared/03132300.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="createunovalue">
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3150682"><bookmark_value>CreateUnoValue;function</bookmark_value></bookmark><paragraph id="hd_id3150682" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/03132300.xhp" name="CreateUnoValue Function [Runtime]">CreateUnoValue Function [Runtime]</link></paragraph>
+ <paragraph role="paragraph" id="par_id3147291" l10n="U" xml-lang="en-US" oldref="2">Returns an object that represents a strictly typed value referring to the Uno type system. </paragraph>
+ </section>
+ <paragraph role="paragraph" id="par_id3143267" l10n="U" xml-lang="en-US" oldref="3">This object is automatically converted to an Any of the corresponding type when passed to Uno. The type must be specified by its fully qualified Uno type name.</paragraph>
+ <paragraph role="note" id="par_id3153626" l10n="U" xml-lang="en-US" oldref="4">The $[officename] API frequently uses the Any type. It is the counterpart of the Variant type known from other environments. The Any type holds one arbitrary Uno type and is used in generic Uno interfaces.</paragraph>
+ <paragraph role="heading" level="2" id="hd_id3147560" l10n="U" xml-lang="en-US" oldref="5">Syntax:</paragraph>
+ <paragraph role="paragraph" id="par_id3154760" l10n="U" xml-lang="en-US" oldref="6">oUnoValue = CreateUnoValue( "[]byte", MyBasicValue ) to get a byte sequence.</paragraph>
+ <paragraph role="paragraph" id="par_id3150541" l10n="U" xml-lang="en-US" oldref="7">If CreateUnoValue cannot be converted to the specified Uno type, and error occurs. For the conversion, the TypeConverter service is used.</paragraph>
+ <paragraph role="paragraph" id="par_id3153524" l10n="U" xml-lang="en-US" oldref="8">This function is intended for use in situations where the default Basic to Uno type converting mechanism is insufficient. This can happen when you try to access generic Any based interfaces, such as XPropertySet::setPropertyValue( Name, Value ) or X???Container::insertBy???( ???, Value ), from $[officename] Basic. The Basic runtime does not recognize these types as they are only defined in the corresponding service.</paragraph>
+ <paragraph role="paragraph" id="par_id3154366" l10n="U" xml-lang="en-US" oldref="9">In this type of situation, $[officename] Basic chooses the best matching type for the Basic type that you want to convert. However, if the wrong type is selected, an error occurs. You there use the CreateUnoValue() function to create a value for the unknown Uno type.</paragraph>
+ <paragraph role="paragraph" id="par_id3150769" l10n="U" xml-lang="en-US" oldref="10">You can also use this function to pass non-Any values, but this is not recommend. If Basic already knows the target type, using the CreateUnoValue() function will only lead to additional converting operations that slow down the Basic execution.</paragraph>
+
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/05060700.xhp b/helpcontent2/source/text/sbasic/shared/05060700.xhp
new file mode 100755
index 0000000000..1560972ae7
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/05060700.xhp
@@ -0,0 +1,463 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicshared05060700xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Macro</title>
+<filename>/text/sbasic/shared/05060700.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="makro">
+ <bookmark branch="index" xml-lang="en-US" id="bm_id3153894"><bookmark_value>macros; assigning</bookmark_value><bookmark_value>assigning; macros</bookmark_value><bookmark_value>event; assigning macro</bookmark_value></bookmark><paragraph id="hd_id3153894" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/05060700.xhp" name="Macro">Macro</link></paragraph>
+ <paragraph l10n="U" xml-lang="en-US" oldref="2" role="paragraph" id="par_id3153748"><ahelp hid="" visibility="visible">Choose the macro that you want to execute when the selected graphic, frame, or OLE object is selected.</ahelp> Depending on the object that is selected, the function is either found on the <emph>Macro</emph> tab of the <emph>Object</emph> dialog, or in the <emph>Assign Macro</emph> dialog.</paragraph>
+ </section>
+ <bookmark branch="hid/HID_MACRO_LB_EVENT" xml-lang="en-US" id="bm_id3155419"/><paragraph role="heading" level="2" id="hd_id3150503" l10n="U" xml-lang="en-US" oldref="3">Event</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3149763" xml-lang="en-US" oldref="4"><ahelp hid="HID_MACRO_LB_EVENT" visibility="visible">Lists the events that are relevant to the macros that are currently assigned to the selected object.</ahelp></paragraph>
+ <paragraph role="paragraph" id="par_id3150670" l10n="U" xml-lang="en-US" oldref="23">The following table describes the macros and the events that can by linked to objects in your document:</paragraph>
+ <table id="tbl_id3148944">
+
+
+
+
+
+
+ <tablerow>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3153360" l10n="U" xml-lang="en-US" oldref="24">Event</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3154365" l10n="U" xml-lang="en-US" oldref="25">Event trigger</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3159149" l10n="U" xml-lang="en-US" oldref="26">OLE object</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3148451" l10n="U" xml-lang="en-US" oldref="27">Graphics</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3125863" l10n="U" xml-lang="en-US" oldref="28">Frame</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3154216" l10n="U" xml-lang="en-US" oldref="29">AutoText</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3145785" l10n="U" xml-lang="en-US" oldref="30">ImageMap area</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3153138" l10n="U" xml-lang="en-US" oldref="31">Hyperlink</paragraph>
+ </tablecell>
+ </tablerow>
+
+ <tablerow>
+ <tablecell>
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3155306"><bookmark_value>event; click object</bookmark_value></bookmark><paragraph role="paragraph" id="par_id3155306" l10n="U" xml-lang="en-US" oldref="32">Click object</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3152460" l10n="U" xml-lang="en-US" oldref="33">Object is selected.</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3147348" l10n="U" xml-lang="en-US" oldref="34">x</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3147426" l10n="U" xml-lang="en-US" oldref="35">x</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3153951" l10n="U" xml-lang="en-US" oldref="36">x</paragraph>
+ </tablecell>
+ <tablecell>
+
+ </tablecell>
+ <tablecell>
+
+ </tablecell>
+ <tablecell>
+
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3150116"><bookmark_value>event; mouse over object</bookmark_value></bookmark><paragraph role="paragraph" id="par_id3150116" l10n="U" xml-lang="en-US" oldref="37">Mouse over object</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3145253" l10n="U" xml-lang="en-US" oldref="38">Mouse moves over the object.</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3144765" l10n="U" xml-lang="en-US" oldref="39">x</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3153418" l10n="U" xml-lang="en-US" oldref="40">x</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3153948" l10n="U" xml-lang="en-US" oldref="41">x</paragraph>
+ </tablecell>
+ <tablecell>
+
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3145652" l10n="U" xml-lang="en-US" oldref="42">x</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3155066" l10n="U" xml-lang="en-US" oldref="43">x</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <bookmark branch="index" xml-lang="en-US" id="bm_id3155446"><bookmark_value>event; trigger hyperlink</bookmark_value><bookmark_value>hyperlink events; triggering</bookmark_value></bookmark><paragraph role="paragraph" id="par_id3155446" l10n="U" xml-lang="en-US" oldref="44">Trigger Hyperlink</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3154756" l10n="U" xml-lang="en-US" oldref="45">Hyperlink assigned to the object is clicked.</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3150042" l10n="U" xml-lang="en-US" oldref="46">x</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3151252" l10n="U" xml-lang="en-US" oldref="47">x</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3147344" l10n="U" xml-lang="en-US" oldref="48">x</paragraph>
+ </tablecell>
+ <tablecell>
+
+ </tablecell>
+ <tablecell>
+
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3146920" l10n="U" xml-lang="en-US" oldref="49">x</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3159333"><bookmark_value>event; mouse leaves object</bookmark_value></bookmark><paragraph role="paragraph" id="par_id3159333" l10n="U" xml-lang="en-US" oldref="50">Mouse leaves object </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3147003" l10n="U" xml-lang="en-US" oldref="51">Mouse moves off of the object.</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3151278" l10n="U" xml-lang="en-US" oldref="52">x</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3145257" l10n="U" xml-lang="en-US" oldref="53">x</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3154122" l10n="U" xml-lang="en-US" oldref="54">x</paragraph>
+ </tablecell>
+ <tablecell>
+
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3156139" l10n="U" xml-lang="en-US" oldref="55">x</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3149036" l10n="U" xml-lang="en-US" oldref="56">x</paragraph>
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3150785"><bookmark_value>event; graphics load successful</bookmark_value></bookmark><paragraph role="paragraph" id="par_id3150785" l10n="U" xml-lang="en-US" oldref="57">Graphics load successful </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3153705" l10n="U" xml-lang="en-US" oldref="58">Graphics are loaded successfully.</paragraph>
+ </tablecell>
+ <tablecell>
+
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3150343" l10n="U" xml-lang="en-US" oldref="59">x</paragraph>
+ </tablecell>
+ <tablecell>
+
+ </tablecell>
+ <tablecell>
+
+ </tablecell>
+ <tablecell>
+
+ </tablecell>
+ <tablecell>
+
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3150202"><bookmark_value>event; Graphics load terminated</bookmark_value></bookmark><paragraph role="paragraph" id="par_id3150202" l10n="U" xml-lang="en-US" oldref="60">Graphics load terminated</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3145584" l10n="U" xml-lang="en-US" oldref="61">Loading of graphics is stopped by the user (for example, when downloading the page).</paragraph>
+ </tablecell>
+ <tablecell>
+
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3154259" l10n="U" xml-lang="en-US" oldref="62">x</paragraph>
+ </tablecell>
+ <tablecell>
+
+ </tablecell>
+ <tablecell>
+
+ </tablecell>
+ <tablecell>
+
+ </tablecell>
+ <tablecell>
+
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3155089"><bookmark_value>event; graphics load faulty</bookmark_value></bookmark><paragraph role="paragraph" id="par_id3155089" l10n="U" xml-lang="en-US" oldref="63">Graphics load faulty</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3153307" l10n="U" xml-lang="en-US" oldref="64">Graphics not successfully loaded, for example, if a graphic was not found.</paragraph>
+ </tablecell>
+ <tablecell>
+
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3148840" l10n="U" xml-lang="en-US" oldref="65">x</paragraph>
+ </tablecell>
+ <tablecell>
+
+ </tablecell>
+ <tablecell>
+
+ </tablecell>
+ <tablecell>
+
+ </tablecell>
+ <tablecell>
+
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3154533"><bookmark_value>event; input of alphanumeric characters</bookmark_value></bookmark><paragraph role="paragraph" id="par_id3154533" l10n="U" xml-lang="en-US" oldref="66">Input of alpha characters </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3155266" l10n="U" xml-lang="en-US" oldref="67">Text is entered from the keyboard.</paragraph>
+ </tablecell>
+ <tablecell>
+
+ </tablecell>
+ <tablecell>
+
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3144768" l10n="U" xml-lang="en-US" oldref="68">x</paragraph>
+ </tablecell>
+ <tablecell>
+
+ </tablecell>
+ <tablecell>
+
+ </tablecell>
+ <tablecell>
+
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3145659"><bookmark_value>event; input of non-alphanumeric characters</bookmark_value></bookmark><paragraph role="paragraph" id="par_id3145659" l10n="U" xml-lang="en-US" oldref="69">Input of non-alpha characters </paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3151131" l10n="U" xml-lang="en-US" oldref="70">Nonprinting characters are entered from the keyboard, for example, tabs and line breaks.</paragraph>
+ </tablecell>
+ <tablecell>
+
+ </tablecell>
+ <tablecell>
+
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3159206" l10n="U" xml-lang="en-US" oldref="71">x</paragraph>
+ </tablecell>
+ <tablecell>
+
+ </tablecell>
+ <tablecell>
+
+ </tablecell>
+ <tablecell>
+
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3150405"><bookmark_value>event; resize frame</bookmark_value></bookmark><paragraph role="paragraph" id="par_id3150405" l10n="U" xml-lang="en-US" oldref="72">Resize frame</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3153972" l10n="U" xml-lang="en-US" oldref="73">Frame is resized with the mouse.</paragraph>
+ </tablecell>
+ <tablecell>
+
+ </tablecell>
+ <tablecell>
+
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3152873" l10n="U" xml-lang="en-US" oldref="74">x</paragraph>
+ </tablecell>
+ <tablecell>
+
+ </tablecell>
+ <tablecell>
+
+ </tablecell>
+ <tablecell>
+
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3148900"><bookmark_value>event; move frame</bookmark_value></bookmark><paragraph role="paragraph" id="par_id3148900" l10n="U" xml-lang="en-US" oldref="75">Move frame</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3154767" l10n="U" xml-lang="en-US" oldref="76">Frame is moved with the mouse.</paragraph>
+ </tablecell>
+ <tablecell>
+
+ </tablecell>
+ <tablecell>
+
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3155914" l10n="U" xml-lang="en-US" oldref="77">x</paragraph>
+ </tablecell>
+ <tablecell>
+
+ </tablecell>
+ <tablecell>
+
+ </tablecell>
+ <tablecell>
+
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3153010"><bookmark_value>event; before inserting AutoText</bookmark_value></bookmark><paragraph role="paragraph" id="par_id3153010" l10n="U" xml-lang="en-US" oldref="78">Before inserting AutoText</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3147515" l10n="U" xml-lang="en-US" oldref="79">Before a text block is inserted.</paragraph>
+ </tablecell>
+ <tablecell>
+
+ </tablecell>
+ <tablecell>
+
+ </tablecell>
+ <tablecell>
+
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3151191" l10n="U" xml-lang="en-US" oldref="80">x</paragraph>
+ </tablecell>
+ <tablecell>
+
+ </tablecell>
+ <tablecell>
+
+ </tablecell>
+ </tablerow>
+ <tablerow>
+ <tablecell>
+ <bookmark xml-lang="en-US" branch="index" id="bm_id3150956"><bookmark_value>event; after inserting AutoText</bookmark_value></bookmark><paragraph role="paragraph" id="par_id3150956" l10n="U" xml-lang="en-US" oldref="81">After inserting AutoText</paragraph>
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3147502" l10n="U" xml-lang="en-US" oldref="82">After a text block is inserted.</paragraph>
+ </tablecell>
+ <tablecell>
+
+ </tablecell>
+ <tablecell>
+
+ </tablecell>
+ <tablecell>
+
+ </tablecell>
+ <tablecell>
+ <paragraph role="paragraph" id="par_id3147555" l10n="U" xml-lang="en-US" oldref="83">x</paragraph>
+ </tablecell>
+ <tablecell>
+
+ </tablecell>
+ <tablecell>
+
+ </tablecell>
+ </tablerow>
+ </table>
+ <paragraph role="heading" level="2" id="hd_id3153958" l10n="U" xml-lang="en-US" oldref="5">Macros</paragraph>
+ <paragraph role="paragraph" id="par_id3150432" l10n="U" xml-lang="en-US" oldref="6">Choose the macro that you want to execute when the selected event occurs.</paragraph>
+ <paragraph role="paragraph" id="par_id3147296" l10n="U" xml-lang="en-US" oldref="84">Frames allow you to link events to a function, so that the function can determine if it processes the event or $[officename] Writer.</paragraph>
+ <bookmark branch="hid/HID_MACRO_GROUP" xml-lang="en-US" id="bm_id3152808"/><paragraph role="heading" level="3" id="hd_id3155587" l10n="U" xml-lang="en-US" oldref="7">Category</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3154068" xml-lang="en-US" oldref="8"><ahelp hid="HID_MACRO_GROUP" visibility="visible">Lists the open $[officename] documents and applications. Click the name of the location where you want to save the macros.</ahelp></paragraph>
+ <bookmark branch="hid/HID_MACRO_MACROS" xml-lang="en-US" id="bm_id3151343"/><paragraph role="heading" level="3" id="hd_id3149744" l10n="U" xml-lang="en-US" oldref="9">Macro name</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3151391" xml-lang="en-US" oldref="10"><ahelp hid="HID_MACRO_MACROS" visibility="visible">Lists the available macros. Click the macro that you want to assign to the selected object.</ahelp></paragraph>
+ <bookmark branch="hid/SFX2_PUSHBUTTON_RID_SFX_TP_MACROASSIGN_PB_ASSIGN" xml-lang="en-US" id="bm_id3148930"/><paragraph role="heading" level="2" id="hd_id3159260" l10n="U" xml-lang="en-US" oldref="11">Assign</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3147406" xml-lang="en-US" oldref="12"><ahelp hid="SFX2_PUSHBUTTON_RID_SFX_TP_MACROASSIGN_PB_ASSIGN" visibility="visible">Assigns the selected macro to the specified event.</ahelp> The assigned macro's entries are set after the event.</paragraph>
+ <bookmark branch="hid/SFX2_PUSHBUTTON_RID_SFX_TP_MACROASSIGN_PB_DELETE" xml-lang="en-US" id="bm_id3156400"/><paragraph role="heading" level="2" id="hd_id3150533" l10n="U" xml-lang="en-US" oldref="15">Remove</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3166456" xml-lang="en-US" oldref="16"><variable id="aufheb"><ahelp hid="SFX2_PUSHBUTTON_RID_SFX_TP_MACROASSIGN_PB_DELETE" visibility="visible">Removes the macro that is assigned to the selected item.</ahelp></variable></paragraph>
+ <bookmark branch="hid/SFX2_LISTBOX_RID_SFX_TP_MACROASSIGN_LB_SCRIPTTYPE" xml-lang="en-US" id="bm_id3149143"/><paragraph role="heading" level="2" id="hd_id3159126" l10n="U" xml-lang="en-US" oldref="85">Macro selection</paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3149149" xml-lang="en-US" oldref="86"><ahelp hid="SFX2_LISTBOX_RID_SFX_TP_MACROASSIGN_LB_SCRIPTTYPE" visibility="visible">Select the macro that you want to assign.</ahelp></paragraph>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/keys.xhp b/helpcontent2/source/text/sbasic/shared/keys.xhp
new file mode 100755
index 0000000000..8c5b916436
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/keys.xhp
@@ -0,0 +1,146 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************-->
+
+<helpdocument version="1.0">
+<meta>
+<topic id="textsbasicsharedkeysxml" indexer="include" status="PUBLISH">
+<title id="tit" xml-lang="en-US">Keyboard Shortcuts in the Basic IDE</title>
+<filename>/text/sbasic/shared/keys.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2004-06-28T14:28:42">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+<section id="keys">
+<bookmark xml-lang="en-US" branch="index" id="bm_id3154760"><bookmark_value>keyboard;in IDE</bookmark_value>
+<bookmark_value>shortcut keys;Basic IDE</bookmark_value>
+<bookmark_value>IDE;keys</bookmark_value>
+</bookmark>
+<paragraph role="heading" id="hd_id3154760" xml-lang="en-US" level="1" l10n="U" oldref="1"><link href="text/sbasic/shared/keys.xhp" name="Keyboard Shortcuts in the Basic IDE">Keyboard Shortcuts in the Basic IDE</link></paragraph>
+</section>
+<paragraph role="paragraph" id="par_id3149655" xml-lang="en-US" l10n="U" oldref="2">In the Basic IDE you can use the following keyboard shortcuts:</paragraph>
+<table id="tbl_id3153381">
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablehead" id="par_id3154908" xml-lang="en-US" l10n="U" oldref="3">Action</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablehead" id="par_id3153192" xml-lang="en-US" l10n="U" oldref="4">Keyboard shortcut</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_id3159254" xml-lang="en-US" l10n="U" oldref="5">Run code starting from the first line, or from the current breakpoint, if the program stopped there before</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_id3163712" xml-lang="en-US" l10n="U" oldref="6">F5</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_id3150010" xml-lang="en-US" l10n="U" oldref="7">Stop</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_id3154319" xml-lang="en-US" l10n="CHG" oldref="8">Shift+F5<comment>UFI: feature mail "changed/CWS tbe10 : Basic IDE keyboard shortcuts"</comment></paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_id3151073" xml-lang="en-US" l10n="U" oldref="11">Add <link href="text/sbasic/shared/01050100.xhp" name="watch">watch</link> for the variable at the cursor</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_id3154731" xml-lang="en-US" l10n="U" oldref="12">F7</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_id3148455" xml-lang="en-US" l10n="U" oldref="13">Single step through each statement, starting at the first line or at that statement where the program execution stopped before.</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_id3150716" xml-lang="en-US" l10n="U" oldref="14">F8</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_id3156275" xml-lang="en-US" l10n="U" oldref="15">Single step as with F8, but a function call is considered to be only <emph>one</emph> statement</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_id3153764" xml-lang="en-US" l10n="U" oldref="16">Shift+F8</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_id3150323" xml-lang="en-US" l10n="U" oldref="17">Set or remove a <link href="text/sbasic/shared/01030300.xhp" name="breakpoint">breakpoint</link> at the current line or all breakpoints in the current selection</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_id3147339" xml-lang="en-US" l10n="U" oldref="18">F9</paragraph>
+</tablecell>
+</tablerow>
+<tablerow>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_id3153963" xml-lang="en-US" l10n="U" oldref="19">Enable/disable the breakpoint at the current line or all breakpoints in the current selection</paragraph>
+</tablecell>
+<tablecell colspan="" rowspan="">
+<paragraph role="tablecontent" id="par_id3155175" xml-lang="en-US" l10n="U" oldref="20">Shift+F9</paragraph>
+</tablecell>
+</tablerow>
+</table>
+
+<paragraph role="paragraph" id="par_id3154702" xml-lang="en-US" l10n="U" oldref="21">A running macro can be aborted with Shift+Ctrl+Q, also from outside of the Basic IDE. If you are inside the Basic IDE and the macro halts at a breakpoint, Shift+Ctrl+Q stops execution of the macro, but you can recognize this only after the next F5, F8, or Shift+F8.</paragraph>
+</body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/main0211.xhp b/helpcontent2/source/text/sbasic/shared/main0211.xhp
new file mode 100644
index 0000000000..bd2aeb7f75
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/main0211.xhp
@@ -0,0 +1,108 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicsharedmain0211xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">Macro Toolbar</title>
+<filename>/text/sbasic/shared/main0211.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <section id="makro">
+ <bookmark id="bm_id3150543" branch="index" xml-lang="en-US"><bookmark_value>toolbars; Basic IDE</bookmark_value><bookmark_value>function bar; macros</bookmark_value><bookmark_value>macros; function bar</bookmark_value><bookmark_value>macro toolbar</bookmark_value></bookmark><bookmark branch="hid/HID_BASICIDE_TOOLBOX" xml-lang="en-US" id="bm_id3148453"/><bookmark branch="hid/.uno:MacroBarVisible" xml-lang="en-US" id="bm_id3153539"/><paragraph id="hd_id3150543" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/main0211.xhp" name="Macro Toolbar">Macro Toolbar</link></paragraph>
+ <paragraph l10n="U" role="paragraph" id="par_id3147288" xml-lang="en-US" oldref="2"><ahelp visibility="visible" hid=".uno:MacroBarVisible">The <emph>Macro Toolbar </emph>contains commands to create, edit, and run macros.</ahelp></paragraph>
+ </section>
+ <embed href="text/sbasic/shared/02/11010000.xhp#bibliothek"/>
+ <embed href="text/sbasic/shared/02/11010000.xhp#sybibliothek"/>
+ <embed href="text/sbasic/shared/02/11020000.xhp#uebersetzen"/>
+ <embed href="text/sbasic/shared/02/11020000.xhp#syuebersetzen"/>
+ <embed href="text/sbasic/shared/02/11030000.xhp#ausfuehren"/>
+ <embed href="text/sbasic/shared/02/11030000.xhp#syausfuehren"/>
+ <embed href="text/sbasic/shared/02/11040000.xhp#anhalten"/>
+ <embed href="text/sbasic/shared/02/11040000.xhp#syanhalten"/>
+ <embed href="text/sbasic/shared/02/11060000.xhp#prozedurschritt"/>
+ <embed href="text/sbasic/shared/02/11060000.xhp#syprozedurschritt"/>
+ <embed href="text/sbasic/shared/02/11050000.xhp#einzelschritt"/>
+ <embed href="text/sbasic/shared/02/11050000.xhp#syeinzelschritt"/>
+ <embed href="text/sbasic/shared/02/11160000.xhp#ruecksprung"/>
+ <embed href="text/sbasic/shared/02/11160000.xhp#syruecksprung"/>
+ <embed href="text/sbasic/shared/02/11070000.xhp#haltepunkt"/>
+ <embed href="text/sbasic/shared/02/11070000.xhp#syhaltepunkt"/>
+ <embed href="text/sbasic/shared/02/11170000.xhp#manage_breakpoints"/>
+ <embed href="text/sbasic/shared/02/11170000.xhp#sybreakpoints"/>
+ <embed href="text/sbasic/shared/02/11080000.xhp#beobachter"/>
+ <embed href="text/sbasic/shared/02/11080000.xhp#sybeobachter"/>
+ <embed href="text/sbasic/shared/02/11090000.xhp#okatalog"/>
+ <embed href="text/sbasic/shared/02/11090000.xhp#syobjektkatalog"/>
+ <embed href="text/sbasic/shared/02/11100000.xhp#makros"/>
+ <embed href="text/sbasic/shared/02/11100000.xhp#symakros"/>
+ <embed href="text/sbasic/shared/02/11110000.xhp#module"/>
+ <embed href="text/sbasic/shared/02/11110000.xhp#symodule"/>
+ <embed href="text/sbasic/shared/02/11120000.xhp#klammer"/>
+ <embed href="text/sbasic/shared/02/11120000.xhp#syklammer"/>
+ <embed href="text/sbasic/shared/02/20000000.xhp#kontrollfelder"/>
+ <embed href="text/sbasic/shared/02/20000000.xhp#sykontrollfelder"/>
+ <embed href="text/sbasic/shared/02/11140000.xhp#laden"/>
+ <embed href="text/sbasic/shared/02/11140000.xhp#syladen"/>
+ <embed href="text/sbasic/shared/02/11150000.xhp#speichern"/>
+ <embed href="text/sbasic/shared/02/11150000.xhp#syspeichern"/>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/main0601.xhp b/helpcontent2/source/text/sbasic/shared/main0601.xhp
new file mode 100755
index 0000000000..880033df64
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/main0601.xhp
@@ -0,0 +1,93 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!--***********************************************************************
+ *
+ * The Contents of this file are made available subject to the terms of
+ * either of the following licenses
+ *
+ * - GNU Lesser General Public License Version 2.1
+ * - Sun Industry Standards Source License Version 1.1
+ *
+ * Sun Microsystems Inc., October, 2000
+ *
+ * GNU Lesser General Public License Version 2.1
+ * =============================================
+ * Copyright 2000 by Sun Microsystems, Inc.
+ * 901 San Antonio Road, Palo Alto, CA 94303, USA
+ *
+ * This library is free software; you can redistribute it and/or
+ * modify it under the terms of the GNU Lesser General Public
+ * License version 2.1, as published by the Free Software Foundation.
+ *
+ * This library is distributed in the hope that it will be useful,
+ * but WITHOUT ANY WARRANTY; without even the implied warranty of
+ * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
+ * Lesser General Public License for more details.
+ *
+ * You should have received a copy of the GNU Lesser General Public
+ * License along with this library; if not, write to the Free Software
+ * Foundation, Inc., 59 Temple Place, Suite 330, Boston,
+ * MA 02111-1307 USA
+ *
+ *
+ * Sun Industry Standards Source License Version 1.1
+ * =================================================
+ * The contents of this file are subject to the Sun Industry Standards
+ * Source License Version 1.1 (the "License"); You may not use this file
+ * except in compliance with the License. You may obtain a copy of the
+ * License at http://www.openoffice.org/license.html.
+ *
+ * Software provided under this License is provided on an "AS IS" basis,
+ * WITHOUT WARRUNTY OF ANY KIND, EITHER EXPRESS OR IMPLIED, INCLUDING,
+ * WITHOUT LIMITATION, WARRUNTIES THAT THE SOFTWARE IS FREE OF DEFECTS,
+ * MERCHANTABLE, FIT FOR A PARTICULAR PURPOSE, OR NON-INFRINGING.
+ * See the License for the specific provisions governing your rights and
+ * obligations concerning the Software.
+ *
+ * The Initial Developer of the Original Code is: Sun Microsystems, Inc..
+ *
+ * Copyright: 2000 by Sun Microsystems, Inc.
+ *
+ * All Rights Reserved.
+ *
+ * Contributor(s): _______________________________________
+ *
+ *
+ ************************************************************************--><helpdocument version="1.0">
+<meta>
+<topic id="textsbasicsharedmain0601xml" indexer="include" status="PUBLISH">
+<title xml-lang="en-US" id="tit">$[officename] Basic Help</title>
+<filename>/text/sbasic/shared/main0601.xhp</filename>
+</topic>
+<history>
+<created date="2003-10-31T00:00:00">Sun Microsystems, Inc.</created>
+<lastedited date="2003-10-31T00:00:00">converted from old format - fpe</lastedited>
+</history>
+</meta>
+<body>
+
+
+ <bookmark branch="hid/HID_GLOBAL_FALLBACK" xml-lang="en-US" id="bm_id3143284"/><paragraph id="hd_id3154232" role="heading" level="1" oldref="1" l10n="U" xml-lang="en-US"><link href="text/sbasic/shared/main0601.xhp" name="$[officename] Basic Help">$[officename] Basic Help</link></paragraph>
+ <section id="basicalt">
+ <paragraph l10n="U" role="paragraph" id="par_id3153894" xml-lang="en-US" oldref="4">$[officefullname] provides an Application Programming Interface (API) that allows controlling the $[officename] components with different programming languages by using the $[officename] Software Development Kit (SDK). For more information about the $[officename] API and the Software Development Kit, visit <link href="http://api.openoffice.org/" name="http://api.openoffice.org">http://api.openoffice.org</link></paragraph>
+ <paragraph role="paragraph" id="par_id3150713" l10n="U" xml-lang="en-US" oldref="6">Due to changes to the API, any macros created with StarOffice 5.2 or before are no longer supported by the current version.</paragraph>
+ <paragraph role="paragraph" id="par_id3147226" l10n="U" xml-lang="en-US" oldref="10">This help section explains the most common runtime functions of $[officename] Basic. For more in-depth information please refer to the $[officename] Basic Guide which is available separately.</paragraph>
+ </section>
+ <paragraph role="heading" level="3" id="hd_id3146957" l10n="U" xml-lang="en-US" oldref="9">Working with $[officename] Basic</paragraph>
+ <embed href="text/sbasic/shared/01000000.xhp#doc_title"/>
+ <embed href="text/sbasic/shared/03000000.xhp#doc_title"/>
+ <embed href="text/shared/guide/macro_recording.xhp#macro_recording"/>
+ <embed href="text/sbasic/guide/create_dialog.xhp#create_dialog"/>
+ <embed href="text/sbasic/guide/insert_control.xhp#insert_control"/>
+ <embed href="text/sbasic/guide/control_properties.xhp#control_properties"/>
+ <embed href="text/sbasic/guide/show_dialog.xhp#show_dialog"/>
+ <embed href="text/sbasic/guide/sample_code.xhp#sample_code"/>
+ <paragraph role="heading" level="3" id="hd_id3148473" l10n="U" xml-lang="en-US" oldref="7">Help about the Help</paragraph>
+ <embed href="text/shared/05/00000100.xhp#neuehilfe"/>
+ <embed href="text/shared/05/00000110.xhp#00000110"/>
+ <embed href="text/shared/05/00000120.xhp#00000120"/>
+ <embed href="text/shared/05/00000130.xhp#00000130"/>
+ <embed href="text/shared/05/00000140.xhp#00000140"/>
+ <embed href="text/shared/05/00000150.xhp#doc_title"/>
+ <embed href="text/shared/05/00000160.xhp#doc_title"/>
+ </body>
+</helpdocument>
diff --git a/helpcontent2/source/text/sbasic/shared/makefile.mk b/helpcontent2/source/text/sbasic/shared/makefile.mk
new file mode 100644
index 0000000000..6a23582986
--- /dev/null
+++ b/helpcontent2/source/text/sbasic/shared/makefile.mk
@@ -0,0 +1,296 @@
+#*************************************************************************
+#*
+#* $Workfile:$
+#*
+#* Creation date KR 28.06.99
+#* last change $Author: fpe $ $Date: 2004-08-18 10:53:45 $
+#*
+#* $Revision: 1.1 $
+#*
+#* $Logfile:$
+#*
+#* Copyright 2000 Sun Microsystems, Inc. All Rights Reserved.
+#*
+#*************************************************************************
+
+# edit to match directory level
+PRJ = ..$/..$/..$/..
+# same for all makefiles in "help2"
+PRJNAME = help2
+# edit to match the current package
+PACKAGE = text/sbasic/shared
+# uniqe name (module wide);
+# using a modified forme of package should do here
+TARGET = text_sbasic_shared
+# edit to match the current module
+MODULE = sbasic
+
+# --- Settings -----------------------------------------------------
+
+.INCLUDE : $(PRJ)$/settings.pmk
+.INCLUDE : settings.mk
+
+# this list matches the *.xml files to process
+HZIPFILES = \
+ 00000002.hzip \
+ 00000003.hzip \
+ 01000000.hzip \
+ 01010210.hzip \
+ 01020000.hzip \
+ 01020100.hzip \
+ 01020200.hzip \
+ 01020300.hzip \
+ 01020500.hzip \
+ 01030000.hzip \
+ 01030100.hzip \
+ 01030200.hzip \
+ 01030300.hzip \
+ 01030400.hzip \
+ 01040000.hzip \
+ 01050000.hzip \
+ 01050100.hzip \
+ 01050200.hzip \
+ 01050300.hzip \
+ 01170100.hzip \
+ 01170101.hzip \
+ 01170103.hzip \
+ 03000000.hzip \
+ 03010000.hzip \
+ 03010100.hzip \
+ 03010101.hzip \
+ 03010102.hzip \
+ 03010103.hzip \
+ 03010200.hzip \
+ 03010201.hzip \
+ 03010300.hzip \
+ 03010301.hzip \
+ 03010302.hzip \
+ 03010303.hzip \
+ 03010304.hzip \
+ 03010305.hzip \
+ 03020000.hzip \
+ 03020100.hzip \
+ 03020101.hzip \
+ 03020102.hzip \
+ 03020103.hzip \
+ 03020104.hzip \
+ 03020200.hzip \
+ 03020201.hzip \
+ 03020202.hzip \
+ 03020203.hzip \
+ 03020204.hzip \
+ 03020205.hzip \
+ 03020300.hzip \
+ 03020301.hzip \
+ 03020302.hzip \
+ 03020303.hzip \
+ 03020304.hzip \
+ 03020305.hzip \
+ 03020400.hzip \
+ 03020401.hzip \
+ 03020402.hzip \
+ 03020403.hzip \
+ 03020404.hzip \
+ 03020405.hzip \
+ 03020406.hzip \
+ 03020407.hzip \
+ 03020408.hzip \
+ 03020409.hzip \
+ 03020410.hzip \
+ 03020411.hzip \
+ 03020412.hzip \
+ 03020413.hzip \
+ 03020414.hzip \
+ 03020415.hzip \
+ 03030000.hzip \
+ 03030100.hzip \
+ 03030101.hzip \
+ 03030102.hzip \
+ 03030103.hzip \
+ 03030104.hzip \
+ 03030105.hzip \
+ 03030106.hzip \
+ 03030107.hzip \
+ 03030108.hzip \
+ 03030200.hzip \
+ 03030201.hzip \
+ 03030202.hzip \
+ 03030203.hzip \
+ 03030204.hzip \
+ 03030205.hzip \
+ 03030206.hzip \
+ 03030300.hzip \
+ 03030301.hzip \
+ 03030302.hzip \
+ 03030303.hzip \
+ 03050000.hzip \
+ 03050100.hzip \
+ 03050200.hzip \
+ 03050300.hzip \
+ 03050500.hzip \
+ 03060000.hzip \
+ 03060100.hzip \
+ 03060200.hzip \
+ 03060300.hzip \
+ 03060400.hzip \
+ 03060500.hzip \
+ 03060600.hzip \
+ 03070000.hzip \
+ 03070100.hzip \
+ 03070200.hzip \
+ 03070300.hzip \
+ 03070400.hzip \
+ 03070500.hzip \
+ 03070600.hzip \
+ 03080000.hzip \
+ 03080100.hzip \
+ 03080101.hzip \
+ 03080102.hzip \
+ 03080103.hzip \
+ 03080104.hzip \
+ 03080200.hzip \
+ 03080201.hzip \
+ 03080202.hzip \
+ 03080300.hzip \
+ 03080301.hzip \
+ 03080302.hzip \
+ 03080400.hzip \
+ 03080401.hzip \
+ 03080500.hzip \
+ 03080501.hzip \
+ 03080502.hzip \
+ 03080600.hzip \
+ 03080601.hzip \
+ 03080700.hzip \
+ 03080701.hzip \
+ 03080800.hzip \
+ 03080801.hzip \
+ 03080802.hzip \
+ 03090000.hzip \
+ 03090100.hzip \
+ 03090101.hzip \
+ 03090102.hzip \
+ 03090103.hzip \
+ 03090200.hzip \
+ 03090201.hzip \
+ 03090202.hzip \
+ 03090203.hzip \
+ 03090300.hzip \
+ 03090301.hzip \
+ 03090302.hzip \
+ 03090303.hzip \
+ 03090400.hzip \
+ 03090401.hzip \
+ 03090402.hzip \
+ 03090403.hzip \
+ 03090404.hzip \
+ 03090405.hzip \
+ 03090406.hzip \
+ 03090407.hzip \
+ 03090408.hzip \
+ 03090409.hzip \
+ 03090410.hzip \
+ 03090411.hzip \
+ 03090412.hzip \
+ 03100000.hzip \
+ 03100100.hzip \
+ 03100300.hzip \
+ 03100400.hzip \
+ 03100500.hzip \
+ 03100600.hzip \
+ 03100700.hzip \
+ 03100900.hzip \
+ 03101000.hzip \
+ 03101100.hzip \
+ 03101300.hzip \
+ 03101400.hzip \
+ 03101500.hzip \
+ 03101600.hzip \
+ 03101700.hzip \
+ 03102000.hzip \
+ 03102100.hzip \
+ 03102101.hzip \
+ 03102200.hzip \
+ 03102300.hzip \
+ 03102400.hzip \
+ 03102600.hzip \
+ 03102700.hzip \
+ 03102800.hzip \
+ 03102900.hzip \
+ 03103000.hzip \
+ 03103100.hzip \
+ 03103200.hzip \
+ 03103300.hzip \
+ 03103400.hzip \
+ 03103450.hzip \
+ 03103500.hzip \
+ 03103600.hzip \
+ 03103700.hzip \
+ 03103800.hzip \
+ 03103900.hzip \
+ 03104000.hzip \
+ 03104100.hzip \
+ 03104200.hzip \
+ 03104300.hzip \
+ 03104400.hzip \
+ 03104500.hzip \
+ 03104600.hzip \
+ 03110000.hzip \
+ 03110100.hzip \
+ 03120000.hzip \
+ 03120100.hzip \
+ 03120101.hzip \
+ 03120102.hzip \
+ 03120103.hzip \
+ 03120104.hzip \
+ 03120105.hzip \
+ 03120200.hzip \
+ 03120201.hzip \
+ 03120202.hzip \
+ 03120300.hzip \
+ 03120301.hzip \
+ 03120302.hzip \
+ 03120303.hzip \
+ 03120304.hzip \
+ 03120305.hzip \
+ 03120306.hzip \
+ 03120307.hzip \
+ 03120308.hzip \
+ 03120309.hzip \
+ 03120310.hzip \
+ 03120311.hzip \
+ 03120312.hzip \
+ 03120313.hzip \
+ 03120314.hzip \
+ 03120315.hzip \
+ 03120400.hzip \
+ 03120401.hzip \
+ 03120402.hzip \
+ 03120403.hzip \
+ 03130000.hzip \
+ 03130100.hzip \
+ 03130500.hzip \
+ 03130600.hzip \
+ 03130700.hzip \
+ 03130800.hzip \
+ 03131000.hzip \
+ 03131300.hzip \
+ 03131400.hzip \
+ 03131500.hzip \
+ 03131600.hzip \
+ 03131700.hzip \
+ 03131800.hzip \
+ 03131900.hzip \
+ 03132000.hzip \
+ 03132100.hzip \
+ 03132200.hzip \
+ 03132300.hzip \
+ 05060700.hzip \
+ keys.hzip \
+ main0211.hzip \
+ main0601.hzip
+
+# --- Targets ------------------------------------------------------
+
+.INCLUDE : target.mk
+.INCLUDE : $(PRJ)$/makefile.pmk