Show Posts

This section allows you to view all posts made by this member. Note that you can only see posts made in areas you currently have access to.


Topics - Jean

Pages: [1] 2 3
2
Astrobasic / searchaspect
« on: February 17, 2022, 02:30:40 PM »
- Februari 17
+ Added astrobasic command 'searchaspect'.

This is a simplified version of findaspect, it searches only for one aspect between two planets.

From the help:

-------
searchaspect

Syntax: searchaspect(real start, real end, int p1, int p2, int as);

Action: Searches for aspect as between p1 and p2, from start to end, returns julian day if found, else returns 6000000.

Example:

int time[6];
real jd = getsystemtime(time);
jd = searchaspect(jd, jd + 30, SUN, MOON, CONJUNCTION); ` search for the next new moon
real zone = gettimezone(defaultplace, jd);
juliantotime(jd + zone, time); ` make local time
run;

3
Astrobasic / moonphases bitmaps.
« on: January 15, 2022, 03:14:37 PM »
Volker made some nice bitmaps for moonphases.
To use

Code: [Select]
include "moonphases.ab"
...
putbitmap(x, y, n);

4
Astrobasic / command(BUTTON, -1
« on: September 18, 2021, 07:53:53 AM »
You can now use -1 to indicate the last created command when using command(XXXX, functions like BUTTON, CHECKBOX, EDIT etc.

5
Astrobasic / added hint() command
« on: September 18, 2021, 07:32:15 AM »
hint

Syntax: hint("Some text");
Action: makes the last created control display a hint when the user moves the cursor over the control.

example
Code: [Select]
button(0, 0, "Push me", go);
hint("Push this to make something happening");

6
General Astrology Topics / MOVED: Transits
« on: May 04, 2021, 05:03:37 PM »

7
Astrobasic / Syntax Changes`
« on: April 03, 2021, 12:34:45 PM »
Hi,
In this topic i will announces changes to syntax.
Whenever this happens, i will adjust all necessary scripts myself, but you should update if your own scripts are affected.

------------------------
- 2020 april 3, added minute parameter to drawpos().

Syntax: drawpos(int mx, int my, int angle, int radius, int fontsize, char minutes, real r);
Action: draws the length 'r' at angle and radius, if minutes = 0, no minutes are displayed.
------------------------

8
Planetdance for windows / MOVED: Customized ring
« on: February 07, 2021, 07:35:45 PM »

9
Astrobasic / looking for ingress
« on: January 20, 2021, 02:38:51 PM »
findaspect() can search for ingress.
There is now command(FUNCTION, 59, 1, 0), this sets a flag inside findevent() which lets it exit as soon as it finds the first ingress. This is handy when you just want to quickly search when a planet has the next ingress. You don't need to calculate an end time for the search, just use 250 years or something.
For an example see horoscope extra ingress.ab

10
Astrobasic / include "Sabian.ab"
« on: January 19, 2021, 03:52:49 PM »
include "Sabian.ab"

After this you can use the variable sabian[360][333] containing the sabian symbols in your code.

11
Astrobasic / new command: popup
« on: December 16, 2020, 12:11:52 PM »
from the help:

[popup]
Syntax: popup(int x, int y, char options[$], label onclick, char default);
Action: present a popupmenu. If default >= 0 that entry will be selected.

Example:
Code: [Select]
window(666, 666);
char s[99];
int n;
button(0,0, "Test", test);
run;

:test;
  popup(99, 99, "one|two|three", test1);
  return;

:test1;
  strset(s, "%d %d", n, menunumber);
  setcaption(s);
  n += 1;
  return;

12
Astrobasic / editor - application - layout
« on: November 24, 2020, 08:05:44 AM »
This is a new command in the editor. You can layout buttons, labels etc with this.

Layout (F6)
First select some text to operate upon.
You can enter expressions and commands that start with left, top like button etc. will be affected.
Syntax
  • ,[y], where x and y can be

-number only, all instances will just be replaced.
+ / - number, all instances will be in/decremented.
* number, all instances will be spaced with that amount.

example +10,*20, increase all x values with 10 and make each y 20 pixels bigger then the previous one.


13
Astrobasic / added dectolon
« on: November 22, 2020, 01:24:18 PM »
dectolon

Syntax: real dectolon(real dec, real lon, real ec);

Action: returns returns longitude equivalent for longitude lon, declination dec and ecliptica ec.


14
Planetdance for windows / possible bug with whole sign houses
« on: October 16, 2020, 06:28:13 PM »
This is about a bug reported by Hellen, and i'm making a topic for it.  ik constateer zojuist dat bij het gebruik van hele huizen de termen verkeerd rond de de tekens staan. Zie mijn voorbeeld. Deze horoscoop uitgedraaid via klassiek/Eds Greek is wel goed en in de tabel van klassiek/EssentiŽle Waardigheden staan ze ook goed. Ik schrik hier erg van.

15
Planetdance for windows / Filemanager and editors as tabbed windows
« on: September 19, 2020, 07:41:57 PM »
After some days work most seems to work. I will probably publish tomorrow.
Things to know, that need to go into the help:
- switching with alt-digit to another window does not work when an editor has focus because it uses alt-digit to set a bookmark. Use ctrl-alt digit to switch.
- A right mouseclick in the filemanager now shows a popup with the complete menu in stead of selecting a record. Use ctrl-click to (un)select a record.

[Edit] Gonna have a go at multiple window filemanager again before i publish.

Pages: [1] 2 3