Posts by F Matheus • 47 points
3 posts
-
3
votes2
answers312
viewsQ: Sort Vector Increasingly with Angularjs
$scope.auxiliar.minimo = $scope.blocos[i].tamanhoTotal - processo.tamanho; $scope.auxiliar.posicaoBlocoLivre = $scope.blocos[i]; $scope.menores.push($scope.auxiliar); I want to sort my vector…
-
0
votes0
answers593
viewsQ: How to make a chained list with Javascript that points to an element I want?
Example: I have an array of blocks, each block has a process object that has a state attribute, which can be free or busy. How do I make every free process, point to the next free process even…
-
0
votes2
answers207
viewsQ: How to create multiple vectors dynamically with Javascript?
I get on the input screen a value, and I need to build the amount of arrays according to the number I received. Example: I get 64 in the input, so I need to create 64 vectors (arrays)