|
Post by windfire on Aug 6, 2021 13:39:36 GMT
|
|
|
Post by B+ on Aug 6, 2021 15:32:42 GMT
[LogicOpa] print "NOTE:: UNFILTERED THOUGHTS ???" print "Perspective is >> Perspective$([,],Pi2,Wt,Sp,tim,L,Pt,Op$,Confermation$,KnObject$)== Op${?}<<([,],Pi2,Wt,Sp,tim,L,Pt,Op$,Confermation$,KnObject$)" print "The Object of the Perspective is in the execution or Object$ is ";"Object$_Op is >> Object== Op{?} is {[ ] 6.28318531 3.6853558 2 1 0.58654259 7.3707116 7.3707116 Output is True & function Op$}" QuestionedLogic$="Output is True & function Op$ is Logic$_[LogicOpa] & <vs> Logic$_[LogicOpa] is function Op$" Pi2=2*(atn(1)*4) Wt=3.6853558 Sp=2 tim=1 InSumation$="& function Op$ is Logic$_[LogicOpa] & <vs> Logic$_[LogicOpa] is function Op$ & Confermed QuestionedLogic$" nop$=Op$("[","]",Pi2,Wt,Sp,tim,L,Pt,Op$,Confermation$,KnObject$) 'print Op$;" ";Confermation$;" ";InSumation$ print Confermation$;" ";InSumation$ ObjectTruthKnobj$=unkOp$("[","]",Pi2,Wt,Sp,tim,L,Pt,Op$,Confermation$,KnObject$) print "ObjectTruthKnobj$ ";ObjectTruthKnobj$;InSumation$ print "Questioned >> ";QuestionedLogic$;" & Confermed QuestionedLogic$" print "Op$= ";Op$;" ";"is confermed" print end 'VariableName$^^Output Logic_Key:Logic_Address function Op$(byref nop1$,byref nop2$,byref Pi2,byref Wt,byref Sp,byref tim,byref L,byref Pt,byref Op$,byref Confermation$,byref KnObject$) Opa=(Wt*Sp) correct$=str$(1/Opa) L=Wt/Pi2 Opb=((L*Pi2)*Sp) Pt=(L*Sp*Pi2)*tim Opc=(Pt/tim) Ans=(Opa/Opb/Opc) if str$(Ans)=correct$ then Op$=str$(Opa):Confermation$="Output is True" end if end function '~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ function unkOp$(byref unk1$,byref unk2$,byref unk3,byref unk4,byref unk5,byref unk6,byref unk7,byref unk8,byref unk9$,byref unk10$,byref unk11$) unkOp$=" ";unk1$;" ";unk2$;" ";unk3;" ";unk4;" ";unk5;" ";unk6;" ";unk7;" ";unk8;" ";unk9$;" ";unk10$;" ";unk11$ KnObject$=unkOp$ end function
Perhaps it may explain itself if variables were more descriptive?
To start with, the function unkOp$ seems to be merely stringing together strings and numbers with spaces in between.
Why are you cluttering up that function definition with all those byref's? You aren't changing any of their values Never mind you arent even using it!!!
Oops yes you are using unkOp$, JB search function sucks, or it's operator ;-))
|
|
|
Post by B+ on Aug 6, 2021 15:48:49 GMT
function unkOp$(byref unk1$,byref unk2$,byref unk3,byref unk4,byref unk5,byref unk6,byref unk7,byref unk8,byref unk9$,byref unk10$,byref unk11$) unkOp$=" ";unk1$;" ";unk2$;" ";unk3;" ";unk4;" ";unk5;" ";unk6;" ";unk7;" ";unk8;" ";unk9$;" ";unk10$;" ";unk11$ KnObject$=unkOp$ ' <<<<<<<<<<<<<<<<<<<<<<<< ??? end function
Why set KnObject$ ? Unless you make it global it's not seen anywhere else in program.
|
|
|
Post by windfire on Aug 6, 2021 16:13:44 GMT
The object is to make the updater {later} in association with the perspective object. example if stat(1)=1 then unk1$=Wt/(2*Pi) thus logic in can be L {inductive reactance} while output logic is P {pulse} Why ?? L as pulse in logic>> XL=((L*frq)*pi2) associates with logic>> Op=((pulse*Speed*Pi2)) Thus on the logic of Speed in feet\sec associated with Speed 1ft at 1 =1ft_lb converted to joules {*1.356} ==Frq in joules leading to associations of logics. Frequency and Speed associate to changes per second. any way It is used as a transfer of updated associative logic.
Ps, a circle of rdi>4 and dia =rdi*2 is a different structure_object than of rdi>6 and dia =4*2 :note the logic difference.
|
|
|
Post by B+ on Aug 6, 2021 16:21:37 GMT
Are all your variables supposed to be real numbers or are Booleans involved (True False, 0 or 1)?
I ask because when you speak of Logic it is usually the case that only Booleans are involved.
I repeat my comment above:
Perhaps explain each variable as you set it with a comment.
This is overall about electricity and possibly logic gates?
|
|
|
Post by windfire on Aug 6, 2021 16:26:17 GMT
No The logics are key code related by association. If k_a associated to key_b then K_f is true.Note K_f is an address. K_a$="We went to the store is true" K_b$="They went to the store is true" K_f$="Someone went to the store" if a and b are true the f is true. goto [f] [f] print "He means someone went to the store." return But if K_b= "The team went to the store ." then K_g$ of perspective is goto [G] [g] print "He means a team went to the store." return
|
|
|
Post by B+ on Aug 6, 2021 16:33:41 GMT
Ha! What just happened? I saw all this stuff and then disappeared?
I also saw windfire say he figured out something ;-))
|
|
|
Post by windfire on Aug 6, 2021 16:40:07 GMT
My thought is Something new in an attempt to deal with variable compound associations. sorry got off track {nervious}
|
|
|
Post by B+ on Aug 6, 2021 16:40:33 GMT
Ah now your edit is making some sense.
What you call keys we called propositions (if I recall my days with Logic 101 correctly).
|
|
|
Post by B+ on Aug 6, 2021 16:41:42 GMT
|
|
|
Post by windfire on Aug 6, 2021 16:48:38 GMT
I have a way of getting an string or strings into a unique tag then an associative Key. thus the key is the logic of tag. now i can manipulate associations. As you can see i have trouble communicating. a test sheet of:
a==true b=true c=true page key ==k_n ==pass 100%
a=true b=faulse c=true page key =k_k == near passs 30%
Perspective is reffrance correct sheet while the objects are the test sheets
|
|
|
Post by windfire on Aug 6, 2021 17:14:35 GMT
B+ Thanks for your replies. Hope I haven't confused you. I need to clear my programing . I'll work on your suggestions .
|
|
|
Post by B+ on Aug 6, 2021 18:21:24 GMT
JB doesn't have User Defined Types AKA Structures AKA ? But you can use multiple arrays (always global in JB) with a common index and that index number would be key to proposition$() array and TFvalue() array (0's and 1's or number on range from 0 to 1 like a probability) thusly you can fairly easily do logical analysis from such in JB, just a suggestion. K$(1)="We went to the store." : TF(1) = 1 K$(2)="They went to the store." : TF(2) = 1 K$(3)="Someone went to the store." : TF(3) = TF(1) Or TF(2) extending: K$(4) = "I went to the store" : TF(4) = TF(3) and NOT TF(2) ? Be right back! K$(1)="We went to the store." : TF(1) = 0 K$(2)="They went to the store." : TF(2) = 0 K$(3)="Someone went to the store." : TF(3) = TF(1) Or TF(2)
'extending: K$(4) = "I went to the store." : TF(4) = (TF(3) and NOT(TF(2))) or (TF(3) and TF(1)) if TF(4) then print K$(4) else print "NOT " + K$(4)
Therefore the difference between they and we is me. Oh but maybe you too Update: I guess this is better because simpler K$(4) = "I went to the store." : TF(4) = (TF(3) and NOT(TF(2))) or TF(1)
|
|
|
Post by windfire on Aug 6, 2021 20:00:58 GMT
B+, I see my code is all wrong. Critical error!! Posted before checking the code. Was concerned about the explanation and rushed. Would appreciate you looking again after I repost it later.
|
|
|
Post by windfire on Aug 7, 2021 13:50:11 GMT
Note Variables are more or less abbreviated . AssociativeLogics.bas (6.17 KB) ' Question is>> if the {Sp/Frq;Wt} hypotenuse reaction is synonymic then is the_
' Logic that both are the same properties_Output with different logic_properties.
' ie: distance as Ft/s or J/s ;conversion
'
' The idea is to track and associate the properties and logics of both_
' and build {say;; a clue or thought list of observations and decide if they have_
' a common perspective_logic association and how much or to what extent.
' ie if repeated several times and confermation is persistant then Yes=page of observations define it so.
' My question is would this make a learning tool {rutine} for {many} logic_associations of objects and persptv's?
gosub [LogicOpa2] 'Dealing with perspective as a tank circuit logic_refferance to logic charting
gosub [LogicOpa] 'Dealing with perspective as a falling object logic_refferance to logic charting
end 'Overall associating one perspective.logic properties to another .
'NOTE: an object is all or part of the perspective ie: chart up to Op is object of chart of Pt perspective.
[LogicOpa]
print
print "NOTE::"
print "The Object of the Perspective is in the execution or Object$ is ";"Object$_Op is >> Object== Op{?} is {";ObjectTruthKnobj$;InSumation$;"]" '[ ] 6.28318531 3.6853558 2 1 0.58654259 7.3707116 7.3707116 Output is True & function Op$}"
print:print
Logic$="logic of Falling Op's"
print "NOTE:: UNFILTERED THOUGHTS ???"
print Logic$;" associated to Perspective and Object's"
print "Perspective is >> Perspective$([,],Pi2,Wt,Frq,tim,L,Pt,Op$,Confermation$,KnObject$)== Op${?}<<([,],Pi2,Wt,Sp,tim,L,Pt,Op$,Confermation$,KnObject$)"
' print "The Object of the Perspective is in the execution or Object$ is ";"Object$_Op is >> Object== Op{?} is {";ObjectTruthKnobj$;InSumation$;"]" '[ ] 6.28318531 3.6853558 2 1 0.58654259 7.3707116 7.3707116 Output is True & function Op$}"
QuestionedLogic$="Output is True & function Op$ is Logic$_[LogicOpa] & <vs> Logic$_[LogicOpa] is function Op$"
Pi2=2*(atn(1)*4)
Wt=3.6853558
Sp=4
associateSp=Sp
Frq=associateSp
tim=1
InSumation$="& function Op$ is Logic$_[LogicOpa] & <vs> Logic$_[LogicOpa] is function Op$ & Confermed QuestionedLogic$"
nop$=Op$("[","]",Pi2,Wt,Frq,tim,L,Pt,Op$,Confermation$,KnObject$)
'print Op$;" ";Confermation$;" ";InSumation$
print Confermation$;" ";InSumation$
ObjectTruthKnobj$=unkOp$("[","]",Pi2,Wt,Frq,tim,L,Pt,Op$,Confermation$,KnObject$)
print "ObjectTruthKnobj$ ";ObjectTruthKnobj$;InSumation$
print "Questioned >> ";QuestionedLogic$;" & Confermed QuestionedLogic$"
print "Op$= ";Op$;" ";"is confermed"
if AssociateOp*(1/MFt.J)=val(Op$) then print "@@@@@@@@@@@@ Fire"
Association$="Op and XL or semantic_objects of Output logics as defined by chart_structural logic"
Tosay$="{to say}> the hypotonus of Frq/Sp & weight react semanticly as logic < Output$ >"
print Association$
print Tosay$
print
print "NOTE::"
print "The Object of the Perspective is in the execution or Object$ is ";"Object$_Op is >> Object== Op{?} is {";ObjectTruthKnobj$;InSumation$;"]" '[ ] 6.28318531 3.6853558 2 1 0.58654259 7.3707116 7.3707116 Output is True & function Op$}"
print
print
print "first run|| Op$= Op and XL is confermed to be property synonymic"
print "see note [0.000y]":gosub [0.000y]
end
'VariableName$^^Output Logic_Key:Logic_Address
function Op$(byref nop1$,byref nop2$,byref Pi2,byref Wt,byref Frq,byref tim,byref L,byref Pt,byref Op$,byref Confermation$,byref KnObject$)
Opa=(Wt*Frq)
correct$=str$(1/Opa)
L=Wt/Pi2
Opb=((L*Pi2)*Frq)
Pt=(L*Frq*Pi2)*tim
Opc=(Pt/tim)
Ans=(Opa/Opb/Opc)
if str$(Ans)=correct$ then
Op$=str$(Opa):Confermation$="Output is True"
end if
end function
'~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
function unkOp$(byref unk1$,byref unk2$,byref unk3,byref unk4,byref unk5,byref unk6,byref unk7,byref unk8,byref unk9$,byref unk10$,byref unk11$)
unkOp$=" ";unk1$;" ";unk2$;" ";unk3;" ";unk4;" ";unk5;" ";unk6;" ";unk7;" ";unk8;" ";unk9$;" ";unk10$;" ";unk11$
KnObject$=unkOp$
end function
'@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
'@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@@
[LogicOpa2]
Logic$="logic of TankCircuit XL$ as Op's"
print "NOTE:: UNFILTERED THOUGHTS ???"
print Logic$;" associated to Perspective and Object's"
print "Perspective is >> Perspective$([,],Pi2,Wt,Sp,tim,L,Pt,Op$,Confermation$,KnObject$)== Op${?}<<([,],Pi2,Wt,Frq,tim,L,Pt,Op$,Confermation$,KnObject$)"
'print "The Object of the Perspective is in the execution or Object$ is ";"Object$_Op is >> Object== Op{?} is {";ObjectTruthKnobj$;InSumation$;"]" '[ ] 6.28318531 3.6853558 2 1 0.58654259 7.3707116 7.3707116 Output is True & function Op$}"
QuestionedLogic$="Output is True & function Op$ is Logic$_[LogicOpa] & <vs> Logic$_[LogicOpa] is function Op$"
MFt.J=1.3558179483
Sp=4
Frq=(Sp*MFt.J)
Pi2=2*(atn(1)*4)
Wt=3.6853558
Frq=Frq*MFt.J
tim=1
InSumation$="& function Op$ is Logic$_[LogicOpa] & <vs> Logic$_[LogicOpa] is function Op$ & Confermed QuestionedLogic$"
nop$=Op$("[","]",Pi2,Wt,Frq,tim,L,Pt,Op$,Confermation$,KnObject$)
'print Op$;" ";Confermation$;" ";InSumation$
print Confermation$;" ";InSumation$
ObjectTruthKnobj$=unkOp$("[","]",Pi2,Wt,Frq,tim,L,Pt,Op$,Confermation$,KnObject$)
print "ObjectTruthKnobj$ ";ObjectTruthKnobj$;InSumation$
print "Questioned >> ";QuestionedLogic$;" & Confermed QuestionedLogic$"
print "Op$= ";Op$;" ";"is confermed"
AssociateOp=val(Op$)
print "AssociateOp=val(Op$)"
return
[0.000y]
print
print tab(26);" [0.000y]"
print tab(26);" All templite formula's are the same. ?? t/f entent"
print tab(26);" Logic postion's are the same if no conversion. ?? t/f entent"
print tab(26);" Logic unit's same{consistant} with conversion but properties remain. ?? t/f entent"
print tab(26);" ect"
print tab(26);" ect"
print tab(26);" conclution confermed and 98% probibale ther is a common association."
return
|
|