1
1
Fork 0
mirror of https://github.com/QB64Official/qb64.git synced 2024-07-03 07:41:21 +00:00

Function _BLINK returns -1 if blinking is enabled; 0 if disabled.

This commit is contained in:
FellippeHeitor 2017-08-16 00:40:37 -03:00
parent de75b0aa29
commit 2f217fce6b
4 changed files with 12 additions and 1 deletions

View file

@ -14244,6 +14244,9 @@ void sub__blink(int32 onoff){
if (onoff==1) H3C0_blink_enable=1; else H3C0_blink_enable=0;
}
int32 func__blink(){
return -H3C0_blink_enable;
}
void sub_out(int32 port,int32 data){
if (new_error) return;

View file

@ -200,6 +200,7 @@ extern void sub__console(int32);
extern int32 func__console();
extern void sub__controlchr(int32);
extern void sub__blink(int32);
extern int32 func__blink();
extern int32 func__fileexists(qbs*);
extern int32 func__direxists(qbs*);
extern int32 func_stick(int32 i,int32 axis_group,int32 passed);

View file

@ -4,4 +4,4 @@ DIM SHARED AutoBuildMsg AS STRING
Version$ = "1.1"
'BuildNum format is YYYYMMDD/id, where id is a ever-increasing
'integer. If you make a change, update the date and increase the id!
BuildNum$ = "20170811/60"
BuildNum$ = "20170816/61"

View file

@ -302,6 +302,13 @@ id.arg = MKL$(LONGTYPE - ISPOINTER)
id.specialformat = "{ON|OFF}"
regid
clearid
id.n = "_BLINK"
id.subfunc = 1
id.callname = "func__blink"
id.ret = LONGTYPE - ISPOINTER
regid
clearid
id.n = "_FILEEXISTS"
id.subfunc = 1