Search found 231 matches

by nimdays
Aug 02, 2020 4:53
Forum: Community Discussion
Topic: any free BASIC for web/ios/android
Replies: 14
Views: 8540

Re: any free BASIC for web/ios/android

B4A is free now
Problem is I'm using XP
by nimdays
Aug 01, 2020 8:26
Forum: Beginners
Topic: MKDIR Question
Replies: 6
Views: 325

Re: MKDIR Question

Thanks All
by nimdays
Aug 01, 2020 5:07
Forum: Beginners
Topic: MKDIR Question
Replies: 6
Views: 325

MKDIR Question

This doesn't create any folder

Code: Select all

?mkdir ("foo\bar\baz")


I think the documentation should be updated because you must create it manually

Code: Select all

?mkdir ("foo")
?mkdir ("foo\bar")
?mkdir ("foo\bar\baz")
by nimdays
Jul 09, 2020 2:22
Forum: Beginners
Topic: Resizing ImageCreate
Replies: 8
Views: 467

Re: Resizing ImageCreate

Thanks All, Really apreciate it
by nimdays
Jul 08, 2020 10:16
Forum: Beginners
Topic: Resizing ImageCreate
Replies: 8
Views: 467

Re: Resizing ImageCreate

Can you show me please? Thanks for the code, I'll try that. I haven't create the resizing function yet because I wanted to know how to resize the buffer with imagecreate. Below is the complete code I've been working so far if you want to help. It's still ugly. My goal is to create a tiny windowing ...
by nimdays
Jul 08, 2020 2:52
Forum: Beginners
Topic: Resizing ImageCreate
Replies: 8
Views: 467

Re: Resizing ImageCreate

@badidea, Thanks for your help I've been working on a very small widget stuff and I wanted to add how to resize it. Perhaps you have an example how to copy from the buffer to another buffer ? Below is an example type fbitmap as ushort wdata as any ptr pimage as ulong ptr pdata,ppmap 'start pixel &am...
by nimdays
Jul 07, 2020 19:49
Forum: Beginners
Topic: Resizing ImageCreate
Replies: 8
Views: 467

Resizing ImageCreate

Is there any way to resize the buffer created with imagecreate?

Thanks
by nimdays
Jun 18, 2020 5:17
Forum: Tips and Tricks
Topic: Overlapping Rectangles
Replies: 0
Views: 433

Overlapping Rectangles

There are 16 possibilities when 2 rectangles are overlapping each other const sw = 800,sh = 600,sd = 32 type rect as integer x,y,w,h as ulong bcolor end type function test_rect(rs as rect,rd as rect)as integer dim as integer l = rs.x - rd.x,t = rs.y - rd.y,tb,lr,tb1,lr1 'src tb += cuint(t) <= rd.h t...
by nimdays
May 21, 2020 9:12
Forum: Beginners
Topic: Pointer To Pointer Question
Replies: 3
Views: 385

Re: Pointer To Pointer Question

Thank you both
by nimdays
May 21, 2020 4:33
Forum: Beginners
Topic: Pointer To Pointer Question
Replies: 3
Views: 385

Pointer To Pointer Question

Hello, Do you think below is safe without allocating first? type node as node ptr pnext end type dim as node ptr proot,ptail proot = new node ptail = new node proot->pnext = ptail dim as node ptr ptr p = @proot p[1] = ptail '' this ?*p & " " & *(p+1) ?proot & " " &...
by nimdays
May 20, 2020 14:45
Forum: Community Discussion
Topic: Mobile Friendly
Replies: 0
Views: 617

Mobile Friendly

I can see better now
by nimdays
May 17, 2020 4:55
Forum: Tips and Tricks
Topic: Simple Linear Gradient
Replies: 4
Views: 460

Re: Simple Linear Gradient

Thanks all
by nimdays
May 15, 2020 7:13
Forum: Tips and Tricks
Topic: Simple Linear Gradient
Replies: 4
Views: 460

Simple Linear Gradient

Left to right linear gradient without multiplication. There's no need to calculate all rows since they are equal(only the first one) function draw_lrgrad(c1 as ulong,c2 as ulong,x as integer,y as integer,_ w as integer,h as integer,sw as integer,dst as ulong ptr)as integer ''''''''''''''''' if c1 = ...
by nimdays
May 09, 2020 5:14
Forum: Tips and Tricks
Topic: FLTK GUI without C wrapper
Replies: 6
Views: 759

Re: FLTK GUI without C wrapper

I'll try later
by nimdays
Jun 30, 2019 3:48
Forum: Tips and Tricks
Topic: Open File Dlg with multiple selections
Replies: 4
Views: 5405

Re: Open File Dlg with multiple selections

The single selection is fine, however the multiple selection doesn't show the names after the dialog is closed

Go to advanced search