[Pharo-users] Re: join

2021-01-28 Thread Yuriy Babah
Sorry for not creating a separate letter, but my problem was solved, it was that the code section in the booklet was in square brackets: why are they there? -- Sent from: http://forum.world.st/Pharo-Smalltalk-Users-f1310670.html

[Pharo-users] Re: join

2021-01-26 Thread Yuriy Babah
Hello everybody! >From the very beginning I stepped - misnamed the topic, I thought to join the mail subscription (by running the join command), but I was already subscribed. I don't know how to rename this forum post, if it can be renamed then its name should be "FFIStructure questions". I am tryi

[Pharo-users] Re: join

2021-01-26 Thread Yuriy Babah
ran on Pharo 8.0x64 on Windows 10

[Pharo-users] Re: join

2021-01-26 Thread Yuriy Babah
*FFIStructure questions*: following page 40 of the 2020-02-12-uFFI-V1.0.1.pdf booklet: FFIStructure subclass: #RsnStructure instanceVariableNames: '' classVariableNames: '' package: 'LiraRSN' RsnStructure class >> fieldsDesc [ ^ #( int ke; int node; float rz; float x; float y; ) ] RsnStructure r

[Pharo-users] join

2021-01-26 Thread Yuriy Babah

Re: [Pharo-users] question about FFI

2018-11-26 Thread Yuriy Babah
> FFIExamples > interpolationFunc_xm: xm getHandle > ym: ym getHandle > size: 2 > x: 2.5 . > cool! it worked !! Thank Esteban Lorenzano and everyone else )

Re: [Pharo-users] question about FFI

2018-11-26 Thread Yuriy Babah
just in case, and https://www.virustotal.com/ru/file/738460bb6be71b4615581dad1a787cbb80b188e52fe3480ef54b7bfce500f3dd/analysis/1543226071/ пн, 26 нояб. 2018 г. в 12:50, Yuriy Babah : > Thank, i'm trued do this, and i'm got > aBoxedFloat64 4.5879913020458836e-41 , > wh

Re: [Pharo-users] question about FFI

2018-11-26 Thread Yuriy Babah
: 2. > ym := FFIExternalArray externalNewType: 'float' size: 2. > > Cheers. > > On Mon, Nov 26, 2018 at 9:30 AM Yuriy Babah > wrote: > >> Hi ! >> >> I'm trying to call a very simple function from C ++ lib, writed for the >> test. >>

[Pharo-users] question about FFI

2018-11-26 Thread Yuriy Babah
Hi ! I'm trying to call a very simple function from C ++ lib, writed for the test. function with prototype: extern "C" float interpolationFunc(float* xm, float* ym, int size, float x). In Pharo7 wrote: FFIExamples class >> interpolationFunc_xm: xM ym: yM size: size x: x ^ self ffiCall: #(flo

Re: [Pharo-users] Unable to execute example code from "The Spec UI Framework" Book

2018-03-21 Thread Yuriy Babah
at the end of the fifth page " The widgets have now been defined and configured, but their placement in the UI has not yet been specified. This is the role of the class side method defaultSpec . " CustomerSatisfaction class >> defaultSpec ^ SpecLayout composed newRow: [ :row | row add: #buttonHapp

Re: [Pharo-users] my mistake on Spec?

2018-03-07 Thread Yuriy Babah
something understood, worked " m: = GUI_ListCourtCase new. m openWithSpec: # defaultSpec2. "do something" m inspect " I see an instance variable that is not related to widgets 2018-03-07 22:11 GMT+03:00 Yuriy Babah : > i'm very pleased to! > Generally, I'm

Re: [Pharo-users] my mistake on Spec?

2018-03-07 Thread Yuriy Babah
m trying to get you to do my job ))) I can formulate my questions a little later)) 2018-03-07 17:41 GMT+03:00 Stephane Ducasse : > I'm happy > Let us know about your project! And if you need I can do a code review. > > Stef > > On Tue, Mar 6, 2018 at 1:36 PM, Yuriy Babah >

Re: [Pharo-users] my mistake on Spec?

2018-03-06 Thread Yuriy Babah
ut; > >>add: #addButtonPlaintiffs ]; > >> newRow: [ :row | > >> row > >> add: #defendantsTextInput; > >> add: #addButtonDefendants ]; > >>

Re: [Pharo-users] my mistake on Spec?

2018-03-05 Thread Yuriy Babah
yesterday i did it, and got --> doesNotUndestand #layout 2018-03-05 20:28 GMT+03:00 Stephane Ducasse : > First implement all the missing methods that you use in the spec class > method. > Then let us know. > > Stef > > > On Sun, Mar 4, 2018 at 2:56 PM, Yuriy Babah &

Re: [Pharo-users] my mistake on Spec?

2018-03-04 Thread Yuriy Babah
. > > tab method bodies > > then do not use instance variables with uppercase. > > > > Stef > > > > > > On Sun, Mar 4, 2018 at 2:26 PM, Yuriy Babah > wrote: > >> changed > >> > >> 2018-03-04 16:20 GMT+03:00 Yuriy Babah : >

Re: [Pharo-users] my mistake on Spec?

2018-03-04 Thread Yuriy Babah
changed 2018-03-04 16:20 GMT+03:00 Yuriy Babah : > Is it enough if I just attach it? > > I slightly changed the code, that leads to error: "DoesNotUndestand > #plaintiffsTextInput" . > > Now I'm studying Help on Spec in SystemBrowser . > > > >

Re: [Pharo-users] my mistake on Spec?

2018-03-04 Thread Yuriy Babah
motely. Do you have your code somewhere? > > Stef > > On Sat, Mar 3, 2018 at 8:41 AM, Yuriy Babah > wrote: > > Hi! > > I'm trying to write GUI element with Spec, Pharo6.1x64 on Linux. > > Do according to the SpecBooklet. > > > > Finished the fragment

[Pharo-users] my mistake on Spec?

2018-03-02 Thread Yuriy Babah
Hi! I'm trying to write GUI element with Spec, Pharo6.1x64 on Linux. Do according to the SpecBooklet. Finished the fragment, and try do: ui := GUI_ListCourtCase new openWithSpec . -> #value was sent to nil. I look in a debugger and: *openWithSpecLayout: aSpec"Build the widget usi

[Pharo-users] Color text formatting in Transcript

2017-09-17 Thread Yuriy Babah
Hello! Is there a simple way to apply color formatting to text in Transcript, accessible for amateur? Thank!

Re: [Pharo-users] example in FFI manual not worked

2017-04-21 Thread Yuriy Babah
yes, I know MyStructure is a > class. I'm adding a method to it". > This is something that often catches newcomers. I remember getting > caught on it myself. > > Makes me wonder if documentation instead using "MyStructure > classside>>#fieldsDesc"

Re: [Pharo-users] example in FFI manual not worked

2017-04-19 Thread Yuriy Babah
an help. I tried your example in build 60463 and its works fine. > So lets break it down. > > On Wed, Apr 19, 2017 at 8:46 PM, Yuriy Babah > wrote: > >> Hello everyone, >> >> I'm new to Pharo and have tried do example with structure in Unified FF

[Pharo-users] example in FFI manual not worked

2017-04-19 Thread Yuriy Babah
Hello everyone, I'm new to Pharo and have tried do example with structure in Unified FFI manual. FFIExternalStructure subclass: #MyStructure instanceVariableNames: '' classVariableNames: '' package: 'FFIDemo' MyStructure class>>#fieldsDesc ^ #( uint8 id; char * struct_name; uint name_length; )