Can you have GDB Standard C implement the functions as a structured
variable capable of defining its default values, initialized to zero, as a
state machine object that would store its return value in its own structure
data members such that it may manipulate its values while it is
functioning? This would be useful for converting functions to
independent state machines which can be evaluated with any logic and, the
extra benefit that if they are a structure, the structures may be compared
if they are of the same type...

 //Structure of Basic data type with default values for the variable:
function: {

typedef function(void){                        //K&R prototype, would
using it accomplish the same thing?
    static typedef struct function{
        char *name = NULL;
        sizet_t value = 0;
    }  volatile function * = (function) malloc(sizeof(function)) ;
return Basic;
}

while(function != function())            //This loop calls function by
stored variable state value and compares it with a function call to the
function which returns its value
{                                                     //Loop compares the
entire state, tests for specific value within the struct Basic function
variable from within the function() call
    if (function.value == 100){
        break;
    } else {
        function.value += 1;    //Increase the value of function.value
member
    }
}

}

On Wed, Mar 31, 2021 at 7:00 AM <gimp-user-list-requ...@gnome.org> wrote:

> Send gimp-user-list mailing list submissions to
>         gimp-user-list@gnome.org
>
> To subscribe or unsubscribe via the World Wide Web, visit
>         https://mail.gnome.org/mailman/listinfo/gimp-user-list
> or, via email, send a message with subject or body 'help' to
>         gimp-user-list-requ...@gnome.org
>
> You can reach the person managing the list at
>         gimp-user-list-ow...@gnome.org
>
> When replying, please edit your Subject line so it is more specific
> than "Re: Contents of gimp-user-list digest..."
>
>
> Today's Topics:
>
>    1.  (no subject) (ryan lague)
>    2. Re:  (no subject) (Ofnuts)
>    3. Re:  (no subject) (Liam R E Quin)
>
>
> ----------------------------------------------------------------------
>
> Message: 1
> Date: Tue, 30 Mar 2021 13:13:24 +0000
> From: ryan lague <ryanlag...@hotmail.com>
> To: "gimp-user-list@gnome.org" <gimp-user-list@gnome.org>
> Subject: [Gimp-user] (no subject)
> Message-ID:
>         <
> me1pr01mb08347c4e24e749afdb6d3dbb80...@me1pr01mb0834.ausprd01.prod.outlook.com
> >
>
> Content-Type: text/plain; charset="us-ascii"
>
> Hey
> How do I set the aspect ratio or image ratio
> Say to 4:3
>
> Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for
> Windows 10
>
>
>
> ------------------------------
>
> Message: 2
> Date: Tue, 30 Mar 2021 15:30:52 +0200
> From: Ofnuts <ofn...@gmx.com>
> To: gimp-user-list@gnome.org
> Subject: Re: [Gimp-user] (no subject)
> Message-ID: <c641052c-24f9-7d6f-8e81-3647ab753...@gmx.com>
> Content-Type: text/plain; charset=utf-8; format=flowed
>
> Answer: not by scaling. If you don't scale horizontally and vertically
> by the same factor, the image will be distorted. To giver you image a
> 4:3 ratio; you either have to cut one dimension or to add space in the
> other.
>
> A Crop tool option lets you constrain the aspect-ratio of what you crop,
> and another will also let you extend the image by cropping (call it
> reverse-crop). This latter action will create empty space that you have
> to fill somehow.
>
>
> On 30/03/2021 15:13, ryan lague via gimp-user-list wrote:
> > Hey
> > How do I set the aspect ratio or image ratio
> > Say to 4:3
> >
> > Sent from Mail<https://go.microsoft.com/fwlink/?LinkId=550986> for
> Windows 10
> >
> > _______________________________________________
> > gimp-user-list mailing list
> > List address:    gimp-user-list@gnome.org
> > List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
> > List archives:   https://mail.gnome.org/archives/gimp-user-list
>
>
>
>
> ------------------------------
>
> Message: 3
> Date: Tue, 30 Mar 2021 12:44:22 -0400
> From: Liam R E Quin <l...@holoweb.net>
> To: ryan lague <ryanlag...@hotmail.com>, "gimp-user-list@gnome.org"
>         <gimp-user-list@gnome.org>
> Subject: Re: [Gimp-user] (no subject)
> Message-ID:
>         <fa55039a69edae28397970cc34cb8499d9fcf291.ca...@holoweb.net>
> Content-Type: text/plain; charset="UTF-8"
>
> On Tue, 2021-03-30 at 13:13 +0000, ryan lague via gimp-user-list wrote:
> > Hey
> > How do I set the aspect ratio or image ratio
> > Say to 4:3
>
> You can use the crop tool, choose "fixed aspect ratio" and enter 4:3/
>
> Aalternately you can use the menu item image?scale image:
> enter two numbers that are in that ratio, to squish or stretch your
> image so it fits.
>
> You can get GIMP to do the calculation for you with scale image, too:
> if your image is 3019 x 2807 pixels in size, leave the width as 3019,
> and change the height to
>     3019 * 3/4
> Or, leave the width at 2807 and change the height to
>     2807 * 4/3
> Then press tab and gimp will work out the numbers.
>
> Liam
>
> --
> Liam Quin - web slave for https://www.fromoldbooks.org/
>
> Full-time slave in voluntary servitude
>
>
>
> ------------------------------
>
> Subject: Digest Footer
>
> _______________________________________________
> gimp-user-list mailing list
> gimp-user-list@gnome.org
> https://mail.gnome.org/mailman/listinfo/gimp-user-list
>
>
> ------------------------------
>
> End of gimp-user-list Digest, Vol 114, Issue 13
> ***********************************************
>
_______________________________________________
gimp-user-list mailing list
List address:    gimp-user-list@gnome.org
List membership: https://mail.gnome.org/mailman/listinfo/gimp-user-list
List archives:   https://mail.gnome.org/archives/gimp-user-list

Reply via email to