Posts by Guilherme Umemura • 171 points
11 posts
-
-1
votes2
answers440
viewsQ: VBA reverses day with month in variables of type Date
Context: I have the following code that receives from the user a date: dataAtualDefault = Day(Date) & "/" & Month(Date) & "/" & Year(Date) dataInsercao = Application.InputBox("Data…
-
1
votes1
answer21
viewsA: Rotation from z to 90 degrees when falling to the ground 2D design
When the character’s Gameobject touches the ground, use: transform.eulerAngles = new Vector3(0, 0, 90);
unity-5answered Guilherme Umemura 171 -
0
votes1
answer40
viewsQ: "super" and private variables
In the case below, it makes sense to call super() in class B_Class since the variable a of A_Class is private? It would be more feasible not to use the parent-class builder? Compiling this code…
-
0
votes2
answers81
viewsQ: Python: Return a list in 2D format
I want to use the __str__ to receive a list and returns it in the form of a matrix. Example: list_exemplo = [[0,1], [2,3]]would return as: [[0, 1], [2, 3]] How do I do it in the method __str__?…
-
0
votes5
answers158
viewsQ: Python - Function that copies content from one list to another list
I need a function (copie_list, transcribed below) that takes two lists, dest and orig, and copies the content of orig to dest, see example below: >>> a = [8, 9] >>> b = [1, 2, 3,…
-
0
votes1
answer92
viewsQ: Accessing a function variable
In C, I can use a variable outside the scope where it was declared? I know that the best thing to do is to declare her out of any role, because then she will become global. But I want to know how to…
-
0
votes2
answers71
viewsA: How to make a condition based on the multiplicity of elements of a vector in the lawtex language?
The operation that returns the amount of elements within a vector is |nomeDoVetor|.size() Example: Suppose the vector |vectorExemplo| with 4 elements. So, |vectorEmployment|. size() equals 4. That…
lawtexanswered Guilherme Umemura 171 -
-4
votes3
answers512
viewsA: What is the difference between the <del> and <s> tag?
The <s> is a tool made so that the person who looks at the code has the knowledge that that information must be changed or corrected. Understand the <s> as a kind of warning. the…
-
1
votes1
answer232
viewsQ: Lawtex - how to use logic based on the field of a struct vector?
I have a vector that uses a struct with several variables and one of them is a boolean. What can I do to execute something if at least one element of this vector has this variable as true?…
-
2
votes2
answers61
viewsA: Lawtex - Changing the default print of a struct
Complementing the reply from @atGuz: when you use a struct with id on a vector, it is sufficient to execute the vector that the Infos will be imprinted on the conformers of the id, dispensing with…
-
2
votes2
answers57
viewsA: Lawtex: How do I send a PDF of the piece by email?
Use documentInfo before the sendmail. It serves to retrieve information about a specific doc, or the current document.